Texlight: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Language subpage}} A '''texlight''' 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...")
 
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Language subpage}}
{{LanguageBar}}{{stub}}
A '''texlight''' 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.
 
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_spot]] placed right on top of it.
{{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.


In {{goldsrc|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]].
 
[[Category:Glossary]]
 
== See also ==
* [[:Category:RAD]]
* [[RAD file]]
* Lists of [[:Category:Source RAD files|Source RAD files]] and [[:Category:GoldSrc RAD files|GoldSrc RAD files]]

Latest revision as of 11:22, 8 August 2025

English (en)Translate (Translate)

Stub

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

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_spot placed right on top of it.

Confirm:What method does VHLT use?

In Source Source, only RAD files can create texlights.

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

See also