Skip to content

Commit

Permalink
Merge pull request #32 from martinRenou/update_threejs
Browse files Browse the repository at this point in the history
Update ThreeJS and GanyJS
  • Loading branch information
martinRenou authored Jul 23, 2020
2 parents 4876220 + 75f8b52 commit ebde707
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 363 deletions.
3 changes: 3 additions & 0 deletions ipygany/ipygany.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,9 @@ class Water(Effect):

under_water_blocks = List(Instance(UnderWater)).tag(sync=True, **widget_serialization)

caustics_enabled = Bool(False).tag(sync=True)
caustics_factor = CFloat(0.2).tag(sync=True)


class Scene(_GanyDOMWidgetBase):
"""A 3-D Scene widget."""
Expand Down
Loading

0 comments on commit ebde707

Please sign in to comment.