Difference between revisions of "R loadlit"

From FTE
Jump to: navigation, search
 
Line 15: Line 15:
 
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<br />
 
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<br />
 
<br />
 
<br />
This cvar also controls loading/generation of .lux files, which are a key compontant with regards to FTE's bumpmapping. See _gl_bump_.
+
This cvar also controls loading/generation of .lux files, which are a key compontant with regards to FTE's bumpmapping.<br>
 +
See [[gl_bump]].

Latest revision as of 05:44, 1 February 2006

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.