Property | Type | Description | |
---|---|---|---|
clearColor | Color | ||
clipPlaneOffset | float | ||
reflectSkybox | bool | ||
reflectionMask | LayerMask | ||
reflectionSampler | System.String |
Method | Description | |
---|---|---|
LateUpdate ( ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
RenderHelpCameras ( Camera currentCam ) : void | ||
Start ( ) : void | ||
WaterTileBeingRendered ( Transform tr, Camera currentCam ) : void |
Method | Description | |
---|---|---|
CalculateObliqueMatrix ( Matrix4x4 projection, Vector4 clipPlane ) : Matrix4x4 | ||
CalculateReflectionMatrix ( Matrix4x4 reflectionMat, Vector4 plane ) : Matrix4x4 | ||
CameraSpacePlane ( Camera cam, Vector3 pos, Vector3 normal, float sideSign ) : Vector4 | ||
CreateReflectionCameraFor ( Camera cam ) : Camera | ||
CreateTextureFor ( Camera cam ) : RenderTexture | ||
RenderReflectionFor ( Camera cam, Camera reflectCamera ) : void | ||
SaneCameraSettings ( Camera helperCam ) : void | ||
SetStandardCameraParameter ( Camera cam, LayerMask mask ) : void | ||
sgn ( float a ) : float |
public RenderHelpCameras ( Camera currentCam ) : void | ||
currentCam | Camera | |
return | void |
public WaterTileBeingRendered ( Transform tr, Camera currentCam ) : void | ||
tr | Transform | |
currentCam | Camera | |
return | void |