Volumetric lighting, also known as
light shafts or
god rays, is a lighting effect that can add depth and realism to the visuals of a map.
You can create this effect by skewing a brush to match the angle of your light source. Download the
example map shown below.
Your volumetric lighting should be a brush entity with
Render Mode set to
Additive
. The translucency can be set with
FX Amount (1 - 255).
The base faces are meant to be invisible, so they should be textured with
CONTENTWATER
in order to mirror the side faces of the brush, making it more realistic.
If you use
NULL
or
BLACK_HIDDEN
, not all of the side faces will be rendered at the same time, and the effect is invisible from some angles.
Volumetric light textured with BLACK_HIDDEN Volumetric light textured with CONTENTWATER Volumetric lighting, with and without the use of CONTENTWATER Volumetric lighting, with and without the use of CONTENTWATER
List of textures for volumetric lighting
Texture | Group |
---|
FADE | valve/halflife.wad |
FADE2 | valve/halflife.wad |
CULIGHTA | cstrike/cs_havana.wad |
CXLIGHTA | cstrike/chateau.wad |