Env godrays controller
Jump to navigation
Jump to search
This entity is Obsolete. Its use is discouraged, and it may only exist/function in older engine branches.
It has since been replaced by newLight_Dir.
It has since been replaced by newLight_Dir.
env_godrays_controller
is a point entity available in Black Mesa since Crossfire Update (22 december 2015 year) and removed in 24 november 2017 year update. This entity controls Crepuscular Rays, the first version of godrays effect before the november update. The november update brought local point and sun new lights (also with new spot light which don't support godrays), this made env_godrays_controller with crepuscular rays useless, this is why it was removed. However, it is still not removed from the FGD file, you also still can choose the crossfire update in beta branches list.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Density (Density) <float>
- Light density.
- Decay (Decay) <float>
- Luminance fall off per sample.
- Weight (Weight) <float>
- Weight of each sample
- Exposure (Exposure) <float>
- Exposure
- DensityUW (DensityUW) <float>
- Light density. UnderWater
- DecayUW (DecayUW) <float>
- Luminance fall off per sample. UnderWater
- WeightUW (WeightUW) <float>
- Weight of each sample. UnderWater
- ExposureUW (ExposureUW) <float>
- Exposure UnderWater
Inputs
- SetEnable <void>
- Enable God Rays
- SetDisable <void>
- Disable God Rays
- SetDensity <float>
- Light density.
- SetWeight <float>
- Weight of each sample
- SetDecay <float>
- Luminance fall off per sample.
- SetExposure <float>
- Exposure
- SetEnableUW <void>
- Enable God Rays UnderWater
- SetDisableUW <void>
- Disable God Rays UnderWater
- SetDensityUW <float>
- Light density UnderWater
- SetWeightUW <float>
- Weight of each sample UnderWater
- SetDecayUW <float>
- Luminance fall off per sample UnderWater
- SetExposureUW <float>
- Exposure UnderWater
See also
- newLight_Dir
- godrays_settings
- newLight_Point
- NewLights_settings
- newLight_Spot
- env_cascade_light
- light_environment
- New Specular
- newxog_volume
- Advanced Lighting
- Effect flags (dynamic light effects)
External links
- BlackMesa XenEngine: Part 4 – Lighting & Shadows (page from Black Mesa developer about new lights)
- BlackMesa XenEngine: Part2 – How a Frame is Rendered (page from Black Mesa developer about how a frame rendered, include Godrays.)
- BlackMesa XenEngine: Part1 – Heavily Modified Source Engine (page from Black Mesa developer about Black Mesa engine, better known as Xenengine)
Todo: Fix some stuff. May better describe functions. Investigate and document some keyvalues and functions. Clean up english. Add more issues if you'll find.