info_texlights

From Valve Developer Community
Revision as of 08:35, 23 April 2025 by Nescius (talk | contribs) (not sure how to specify zhlt in this is a)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

info_texlights is an internal point entity available in VHLT VHLT. It works similarly to a RAD file by allowing textures to emit light.

Keyvalues

<texture_name_added_with_smartedit_off> <brightness>
Texlights are defined through its key values, where the key is the name of the texture to emit light from, and the value is the color and intensity of the light. For example, a keyvalue pair with the key LIGHT1 and the value 255 0 0 200 would make the texture LIGHT1 emit a red light. Alternatively, a single number can be used, in which case the light color is automatically determined by the average color of the texture.
Icon-Important.pngImportant:In VHLT, lights from info_texlights with color set to 255 255 255 will use the average color of the texture instead of white.