Character lighting adjusts with lightmap on terrain and DIF, where?
by Kenneth Eves · in Torque Game Engine Advanced · 06/08/2012 (1:02 am) · 0 replies
I'm trying to find the section of TGEA that handles changing the brightness of a character when they step on bright or shadowed terrain and/or DIF interior.
I'm guessing there is a castray somewhere that detects proximity and reads the lightmap. I can't find it.
Any suggestions on where to look would be helpful.
----------------------------------------------
Found it.
sgLightManager
// Ambient light is determined by the surface we are standing on.
I'm guessing there is a castray somewhere that detects proximity and reads the lightmap. I can't find it.
Any suggestions on where to look would be helpful.
----------------------------------------------
Found it.
sgLightManager
// Ambient light is determined by the surface we are standing on.
About the author
<3 TGE/A Quickly becoming a fan of T3D 1.2