2024-06-22 07:24:13 +00:00
|
|
|
# Material Command List {#mat_commands}
|
|
|
|
|
2024-12-05 03:04:56 +00:00
|
|
|
## vmap_surfaceLight {#vmap_surfaceLight}
|
|
|
|
### Syntax
|
2022-10-03 00:10:54 +00:00
|
|
|
|
2024-12-05 03:04:56 +00:00
|
|
|
**vmap_surfaceLight \<intensity\>**
|
2022-10-03 00:10:54 +00:00
|
|
|
|
2024-12-05 03:04:56 +00:00
|
|
|
### Overview
|
2022-10-03 00:10:54 +00:00
|
|
|
|
|
|
|
The texture gives off light equal to the value set for it. The relative
|
|
|
|
surface area of the texture in the world affects the actual amount of
|
|
|
|
light that appears to be radiated.
|
|
|
|
|
|
|
|
To give off what appears to be the same amount of light, a smaller
|
|
|
|
texture must be significantly brighter than a larger texture.
|
|
|
|
|
|
|
|
Unless the
|
2024-12-05 03:04:56 +00:00
|
|
|
[vmap_lightImage](@ref vmap_lightImage) or
|
|
|
|
[vmap_lightRGB](@ref vmap_lightRGB) directive
|
2022-10-03 00:10:54 +00:00
|
|
|
is used to select a different source for the texture's light color
|
|
|
|
information, the color of the light will be the averaged color of the
|
|
|
|
texture.
|
|
|
|
|
|
|
|
If you want to change the distance/range of the surfacelight, use
|
2024-12-05 03:04:56 +00:00
|
|
|
[vmap_surfacelightDistance](@ref vmap_surfaceLightDistance).
|