![]() |
![]() |
Tagged Surface Lighting
_lighttag
_color
_distance
_focus
light
_lightmin
style
![]() |
![]() |
![]() |
Quake2's surface-based lighting is generally more natural looking than point light entities. Unfortunately, only its brightness can be modified with Qrad3. ArghRad provides new ways to extensively customize surface light appearance. One method is through tagged surface lights.
Light-emitting surfaces can be tagged to allow a separate light entity to control their properties. Note: This control light will still cast light of its own.
![]() |
![]() |
||
_lighttag tag |
location: light entity version: 2.50 | ||
tag: surface light value | default: none | ||
Assigns a surface "ID tag" number to this light. All light-emitting
surfaces with a matching light value will be controlled by this light.
The tagged surfaces will then use this light's values for (if present):
_color, _distance,
_focus, light,
_lightmin, and style.
Also, if this light is triggered, the tagged surfaces will be set to the
same trigger.
|
|||
no example image | example map | ||
![]() |
![]() |
![]() |
![]() |
||
_color r g b |
location: tagged light entity version: 2.50 | ||
r g b: standard rgb color | default: none | ||
Sets the rgb color of the tagged surfaces' lighting, overriding the
original texture colors. Colors similar to the originals tend to look
best.
|
|||
no example image | example map | ||
![]() |
![]() |
![]() |
![]() |
||
_distance units |
location: tagged light entity version: 2.50 | ||
units: >= 1 | default: infinite | ||
Sets a cutoff distance at which the surface lights abruptly stop
shining. It can be used strategically to speed compiling, and reduce
"face with too many lightstyles" errors.
|
|||
no example image | example map | ||
![]() |
![]() |
![]() |
![]() |
||
_focus scale |
location: tagged light entity version: 2.50 | ||
scale: 0-1 (fade slower), > 1 (fade faster) | default: 1 | ||
Scales how quickly the surface light fades as its cast-off angle
decreases from perpendicular to parallel. Values less than 1 fade
slower, spreading out more. Values greater than 1 fade faster,
spreading out less.
|
|||
no example image | example map | ||
![]() |
![]() |
![]() |
![]() |
||
light brightness |
location: tagged light entity version: 2.50 | ||
brightness: any brightness | default: none | ||
Sets the brightness of the tagged surfaces' lighting, overriding the
surfaces' own light values.
|
|||
no example image | example map | ||
![]() |
![]() |
![]() |
![]() |
||
_lightmin brightness |
location: tagged light entity version: 2.50 | ||
brightness: 0-255 | default: 0 | ||
Used only if this light entity has a _lighttag.
This adds the specified brightness to the tagged light-emitting
surfaces. This can make normally dim surface-lights appear to glow
brighter.
|
|||
no example image | example map | ||
![]() |
![]() |
![]() |
![]() |
||
style lightstyle |
location: tagged light entity version: 2.50 | ||
style: standard lightstyle (0-31) | default: 0 | ||
Sets the tagged surfaces' lighting to the specified lightstyle.
|
|||
no example image | example map | ||
![]() |
![]() |