-
Notifications
You must be signed in to change notification settings - Fork 14
Component_UnderOceanMarkDrawer
XiaGu edited this page Apr 17, 2019
·
7 revisions
UnderOceanMarkDrawer is used with MeshRenderer, MeshFilter, UnderOceanEffectOnly Material. Is the key component to achieve underwater effects.
The role is to mark the area that need to be render as a under water effect.
Note : This object is generally not render by a refraction camera and refraction camera.
Property | Function |
---|---|
Target | The target to follow, if it is empty, means not to follow. |
MinOffset | Minimum offset from sea level. |
MaxOffset | Maximum offset from sea level. |
WaveHeight | Sea level offset. |
MarkMaterial | Material using the "LowpolyOcean/MarkUnderOcean" shader. |
Adjust component position according to camera position relative to sea level.
Blue line : sea level.
Example1 :
Example2 :
Ocean Effects
Components