Texlight

From Valve Developer Community
Revision as of 12:46, 6 August 2025 by NinjaV (talk | contribs) (fixed links)
Jump to navigation Jump to search
English (en)Translate (Translate)

A texlight ("texture light") is a light generated by the map compiler in front of a surface with a given texture, making it appear as if the texture is emitting light. Older compilers, such as QRAD and VRAD create a single large texlight in front of the texture, adding a new texlight for every subdivision. Modern compilers, such as ericw-tools, can instead create several smaller texlights across the textured face, making it look more like the texture is actually casting light, instead of looking like it has a light placed right on top of it.

Confirm:What method does VHLT use?

In Source Source, only RAD files can create texlights.
List of Source RAD files here

In GoldSrc GoldSrc, RAD files can be used, but they have been deprecated in ZHLT and VHLT by info_texlights and light_surface.
List of GoldSrc RAD files here

See also

Stub

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