Add docs for "_sun" "1"

This commit is contained in:
Eric Wasylishen 2017-08-23 14:14:23 -06:00
parent da458a0569
commit 1b7f833789
1 changed files with 15 additions and 0 deletions

View File

@ -382,6 +382,21 @@ Specifies the yaw/pitch/roll angles for a texture projection (overriding mangle)
.IP "\fB""_bouncescale"" ""n""\fP"
Scales the amount of light that is contributed by bounces. Default is 1.0, 0.0 disables bounce lighting for this light.
.IP "\fB""_sun"" ""n""\fP"
Set to 1 to make this entity a sun, as an alternative to using the sunlight worldspawn keys.
If the light targets an info_null entity, the direction towards that entity sets sun direction.
The light itself is disabled, so it can be placed anywhere in the map.
The following light properties correspond to these sunlight settings:
.nf
light => _sunlight
mangle => _sunlight_mangle
deviance => _sunlight_penumbra
_color => _sunlight_color
_dirt => _sunlight_dirt
_anglescale => _anglescale
.fi
.SH "OTHER INFORMATION"
The "\\b" escape sequence toggles red text on/off, you can use this in any strings in the map file. e.g. "message" "Here is \\bsome red text\\b..."