Template:Hl1 kv zhlt light source: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
* 2 : Inverse Square
* 2 : Inverse Square
{{kv|Texlight (VHLT+)|intn=_tex|texture|Treat this entity as an [[light_surface]], using the specified texture as the emissive texture.}}
{{kv|Texlight (VHLT+)|intn=_tex|texture|Treat this entity as an [[light_surface]], using the specified texture as the emissive texture.}}
{{#if:{{{sun|}}}|
{{kv|Ambient (ZHLT+)|intn=_diffuse_light|color255+int}}
{{kv|Ambient 2 (ZHLT+)|intn=_diffuse_light2|color255+int}}
{{kv|Sun spread angle|intn=_spread|int}}
{{kv|Model lighting only (VHLT v16+)|intn=_fake|boolean|Treat this entity as an [[info_sunlight]], causing it to not affect lightmaps.}}
|}}
<noinclude>
<noinclude>
{{hl1 kv zhlt light source|sun=1}}
[[Category:Keyvalue Templates]]
[[Category:Keyvalue Templates]]
</noinclude>
</noinclude>

Revision as of 06:51, 19 September 2024

ZHLT light source:

ZHLT Fade <float>
ZHLT Falloff <integer>
  • 0 : Default
  • 1 : Inverse Linear
  • 2 : Inverse Square
Texlight (VHLT+) (_tex) <texture>
Treat this entity as an light_surface, using the specified texture as the emissive texture.


ZHLT light source:

ZHLT Fade <float>
ZHLT Falloff <integer>
  • 0 : Default
  • 1 : Inverse Linear
  • 2 : Inverse Square
Texlight (VHLT+) (_tex) <texture>
Treat this entity as an light_surface, using the specified texture as the emissive texture.
Ambient (ZHLT+) (_diffuse_light) <color255 + int>
Ambient 2 (ZHLT+) (_diffuse_light2) <color255 + int>
Sun spread angle (_spread) <integer>
Model lighting only (VHLT v16+) (_fake) <boolean>
Treat this entity as an info_sunlight, causing it to not affect lightmaps.