Texlight: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Nesciuse moved page Texlight/en to Texlight without leaving a redirect: Move en subpage to basepage)
(added link to the game's rad files)
Line 4: Line 4:
{{modernConfirm|What method does [[VHLT]] use?}}
{{modernConfirm|What method does [[VHLT]] use?}}


In {{src|4}}, only [[RAD file]]s can create texlights.
In {{src|4}}, only [[RAD file]]s can create texlights.<br>List of Source RAD files [[RAD file|here]]


In {{gldsrc|4}}, [[RAD file]]s can be used, but they have been deprecated in [[ZHLT]] and [[VHLT]] by [[info_texlights]] and [[light_surface]].
In {{gldsrc|4}}, [[RAD file]]s can be used, but they have been deprecated in [[ZHLT]] and [[VHLT]] by [[info_texlights]] and [[light_surface]].<br>List of GoldSrc RAD files [[RAD file (GoldSrc)|here]]


[[Category:Glossary]]
[[Category:Glossary]]


== See also ==
* [[:Category:RAD]]
* [[RAD file]]


{{stub}}
{{stub}}

Revision as of 12:26, 6 August 2025

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.