Lighting problem with terrain
by Andy Hawkins · in Torque Game Engine Advanced · 03/27/2008 (6:49 am) · 2 replies
Here is a video of me looking at my blended terrain, and hitting relight scene. For a second each time the terrain looks really good, then it reverts back to looking average. Does anyone know what causes this?
www.drewfx.com/Torque/LightingErrors.mpg (MPEG1 @ 266k in size)
BTW - I'm using L3DT and TGEA 1.0.3 on the March 2008 Redist of DX9.
www.drewfx.com/Torque/LightingErrors.mpg (MPEG1 @ 266k in size)
BTW - I'm using L3DT and TGEA 1.0.3 on the March 2008 Redist of DX9.
#2
www.garagegames.com/mg/forums/result.thread.php?qt=73599
and here
www.garagegames.com/mg/forums/result.thread.php?qt=73674
Thanks again Bill!
04/01/2008 (8:29 am)
That didn't work for me - seems the exporter script to convert to atlas format was causing problems. I've solved them now and journalled the finding here...www.garagegames.com/mg/forums/result.thread.php?qt=73599
and here
www.garagegames.com/mg/forums/result.thread.php?qt=73674
Thanks again Bill!
Torque Owner Bill Vee
DayOfWar Studios
Sometimes I have encountered the shadow map will get corrupted over time.
The way TSEA 1.03 handles the new shadow map is it creates a atlas file with a CRC hash in the file name.
Example atlas file name = myatlas.atlas and TSE will create a atlasfile something like myatlas_14EF35.atlas.
Just delete the myatlas_14EF35.atlas and try another relight.
Also if you use 1 atlas file 2 or more times in a mission and they are at a different rotations TSE will only create 1 light map file that all the terrains will use for its light map.