SceneLighting and Light Cache
by UZON · in Torque Game Engine · 01/17/2008 (4:35 am) · 2 replies
Can someone explain for me how those four variables works and how can i optimize (or remove) the light in the mission load by those variables.
$pref::sceneLighting::cacheLighting
$pref::sceneLighting::cacheSize
$pref::sceneLighting::purgeMethod
$pref::sceneLighting::terrainGenerateLevel
$pref::sceneLighting::cacheLighting
$pref::sceneLighting::cacheSize
$pref::sceneLighting::purgeMethod
$pref::sceneLighting::terrainGenerateLevel
#2
0 (zero) means that relights will be done with the lowest precision. The highest value 4 can take 50 or more times length of time it takes to relight with a setting of 0!
via "Game Programmers Guide To Torque"
08/02/2009 (4:39 am)
I found informations about $pref::sceneLighting::terrainGenerateLevel. It takes values from 0 to 4 and it helps to speed up scene relights (recomputing the mission's static lighting). 0 (zero) means that relights will be done with the lowest precision. The highest value 4 can take 50 or more times length of time it takes to relight with a setting of 0!
via "Game Programmers Guide To Torque"
Torque Owner Isidoros
Thanks