Difference between revisions of "R loadlit"

From FTE
Jump to: navigation, search
 
Line 1: Line 1:
 
Name: r_loadlit<br>
 
Name: r_loadlit<br>
 
Default value: "1"<br>
 
Default value: "1"<br>
Flags:   <br>
+
Cvar flags: None<br>
 +
FTEQW Builds: [[Software Renderer]] [[OpenGL Renderer]] [[Minimal GL Build]] [[Merged Build]] [[Linux Build]] <br>
 
<br>
 
<br>
 
Controls weather or not .lit files are loaded.<br />
 
Controls weather or not .lit files are loaded.<br />

Revision as of 05:14, 1 November 2005

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_.