Light environment: Difference between revisions
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
: <color255> This is the diffuse light the is cast on every face that can "see" the sky. | : <color255> This is the diffuse light the is cast on every face that can "see" the sky. | ||
*_lightHDR | *_lightHDR | ||
:<color255> This approximates direct [[HDR]] sunlight. Can be left as default or be slightly less bright, since HDR is rendered brighter. | :<color255> This approximates direct [[HDR]] sunlight. Can be left as default or be slightly less bright, since HDR is sometimes rendered brighter. | ||
*_ambientHDR | *_ambientHDR | ||
:<color255> This is the diffuse [[HDR]] light. Can be left as default or be slightly less bright. | :<color255> This is the diffuse [[HDR]] light. Can be left as default or be slightly less bright. |
Revision as of 17:12, 9 February 2006
Entity Description
The light_environment entity is a light controller, that casts directional lighting from the skybox. This is to approximate the light cast from the Sun. The first keyvalue, Brightness, controls direct lighting. This approximates direct sunlight. The second keyvalue, Ambient, controls indirect lighting from the sky. This is the diffuse light the is cast on every face that can "see" the sky.
Normally, only one light_environment entity is required per VMF file. A 3D skybox requires placement of an extra light_environment (see 3D skybox article for further details). If multiple light_environment entities are placed, VRAD uses the keyvalues from the first placed light_environment to calculate the lighting.
Keyvalues
- Template:Kv angles
- _light
- <color255> This approximates direct sunlight.
- _ambient
- <color255> This is the diffuse light the is cast on every face that can "see" the sky.
- _lightHDR
- <color255> This approximates direct HDR sunlight. Can be left as default or be slightly less bright, since HDR is sometimes rendered brighter.
- _ambientHDR
- <color255> This is the diffuse HDR light. Can be left as default or be slightly less bright.
- pitch
- <angle> This value overrides the value of pitch in the keyvalue "angles".