WeatherMakerLightManagerScript Fields |
The WeatherMakerLightManagerScript type exposes the following members.
Name | Description | |
---|---|---|
AreaLightAreaMultiplier | Multiplier for area light. Spreads and fades light out over x and y size. | |
AreaLightFalloff | Falloff for area light, as light moves away from center it falls off more as this increases. | |
AreaLightQuadraticAttenuation | Area light quadratic attenuation. Set to 0 to turn off all area lights. | |
AutoAddLights | A list of lights to automatically add to the light manager. Only used if AutoFindLights is false. | |
AutoFindLights | Whether to find all lights in the scene automatically if no Lights were added programatically. If none, you must manually add / remove lights using the AutoAddLights property. To ensure correct behavior, do not change in script, set it once in the inspector and leave it. If this is set to EveryFrame, AddLight and RemoveLight do nothing. | |
BlueNoiseTexture | Blue noise texture, useful for dithering and eliminating banding | |
CurrentBounds |
The current bounds if checking a collider and not a camera
| |
CurrentCameraFrustumCorners |
The corners of the current camera view frustum
| |
CurrentCameraFrustumPlanes |
The planes of the current camera view frustum
| |
DirectionalLightIntensityMultipliers |
Directional light intensity multipliers - all are applied to the final directional light intensities
| |
DirectionalLightShadowIntensityMultipliers |
Directional light shadow intensity multipliers - all are applied to the final directional light shadow intensities
| |
FogDirectionalLightScatterIntensity | How intense is the scatter of directional light in the fog. | |
FogLightSunIntensityReducer | How much the sun reduces fog lights. As sun intensity approaches 1, fog light intensity is reduced by this value. | |
FogSpotLightRadiusFalloff | How quickly fog point lights falloff from the center radius. High values fall-off more. | |
IgnoreLights | A list of lights to always ignore if AutoFindLights is being used. | |
MaximumLightCount |
Maximum number of lights to send to the Weather Maker shaders - reduce if you are having performance problems
This should match the constant 'MAX_LIGHT_COUNT' in WeatherMakerLightShaderInclude.cginc
| |
MaximumNullZones |
Max number of null zones - the n closest will be sent to shaders.
| |
MaxMoonCount |
Max number of moons supported. This should match the constant in WeatherMakerLightShaderInclude.cginc.
| |
NoiseTexture3D | Noise texture for fog and other 3D effects. | |
NullZones |
Null zones - this is handled automatically as null zone scripts are added
| |
PointLightQuadraticAttenuation | Point light quadratic attenuation. | |
ScreenSpaceShadowShader | Set this to a custom screen space shadow shader, by default this is the weather maker integrated screen space shadow shader. | |
ScreenSpaceShadowsRenderTextureName | The texture name for shaders to access the screen space shadow map, null/empty to not use screen space shadows | |
ShaderUpdateInterval | How often to update shader state in seconds for each object (camera, collider, etc.), 0 for every frame. | |
SpotLightQuadraticAttenuation | Spot light quadratic attenuation. |