R loadlit

From FTE
Revision as of 05:44, 1 February 2006 by Moodles (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Name: r_loadlit
Default value: "1"
Cvar flags: None
FTEQW Builds: Software Renderer OpenGL Renderer Minimal GL Build Merged Build Linux Build

Controls weather or not .lit files are loaded.

Possible values: 0 / 1 / 2

0 compleatly prohibits loading of external .lit files.
1 allows loading, and is the default.
2 regenerates lighting for the entire level if it lacks coloured lighting.


The rules behind 2 are moderatly basic. It searches for known lightstyles and effects, marking lightsources as different colours. Please note that this is not 100% reliable due to the variable nature of different light compilers. The algorithm implemented is that of the origional light.exe

This cvar also controls loading/generation of .lux files, which are a key compontant with regards to FTE's bumpmapping.
See gl_bump.