Texture Light Last edited 6 years ago2018-06-18 10:14:20 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.
Texture lights (also known as "texlights") are textures that emit light. They are often recommended over light entities for general lighting as they suggest a more natural source of light than a point in space. Note, however, that this not necessarily true of Source mapping, where they are generally discouraged.

Texture lighting is not a property inherent to certain textures, and thus any texture can be a texture light. There are a couple of ways of telling the compile tools that you want a texture to act as a texture light. Firstly, texture lights can be defined in a file called lights.rad. Secondly, texture lights can be defined in an info_texlights entity.

Texture lights, by default, only emit a fixed light that cannot be turned on/off or have any special effects applied to them. However, these properties are possible to achieve. See this tutorial for details.

Comments

You must log in to post a comment. You can login or register a new account.