WeatherMakerReflectionScript Fields |
The WeatherMakerReflectionScript type exposes the following members.
| Name | Description | |
|---|---|---|
| AspectRatio | Aspect ratio (width/height) for reflection camera, 0 for default. | |
| ClipPlaneOffset | Near clip plane offset for reflection | |
| FarPlane | Far plane for reflection camera, 0 for default. | |
| FieldOfView | Field of view for reflection camera, 0 for default. | |
| MaximumPerPixelLightsToReflect | Maximum per pixel lights in reflection | |
| NearPlane | Near plane for reflection camera, 0 for default. | |
| NormalIsForward | Whether normal is forward. True for quads, false for planes (up) | |
| RecursionLimit | Recursion limit. Reflections will render off each other up to this many times. Be careful for performance. | |
| RecursionRenderTextureSizeReducerPower | Reduce render texture size as recursion increases, formula = Mathf.Pow(RecursionRenderTextureSizeReducerPower, recursionLevel) * RenderTextureSize. | |
| ReflectionCameraRenderingPath | The reflection camera render path. Set to 'UsePlayerSettings' to take on the observing camera rendering path. DO NOT CHANGE AT RUNTIME. | |
| ReflectionMask | What layers to reflect, set to none or 0 to disable reflections. | |
| ReflectionMaskRecursion | Reflection mask for recursion. Set to 0 to match the ReflectionMask property. | |
| ReflectionSamplerName | Reflection texture name for shaders to use | |
| ReflectMaterial | Material put reflection textures on | |
| ReflectRenderer | Renderer to draw reflection in, if null you must set ReflectMaterial. | |
| ReflectSkybox | Whether to reflect the skybox | |
| RenderTextureFormat | Render texture format for reflection | |
| RenderTextureSize | Render texture size. Based on aspect ratio this will use this size as the width or height. |