Non-baked building shadows - again (for John Kabus)
by Fabio Luis Stange · in Torque Game Engine · 12/16/2006 (9:13 am) · 1 replies
Bringing the topic up from the public forums.
by Fabio Luis Stange · in Torque Game Engine · 12/16/2006 (9:13 am) · 1 replies
Torque Owner John Kabus (BobTheCBuilder)
Changing Shadow Distance
Open the file 'lightingSystem/sgObjectShadows.cc', on line 176 you'll see:
Increasing the value 10.0f makes the shadows project further, lowering the value shortens them.
This is a quick fix related to the shadow distance (an oversight on my part) - in the file 'game/shadow.cc' on line 504, change:
To:
Changing Shadow Intensity
Open the file 'lightingSystem/sgLighting.h' (this is the lighting system's compile-time config file), on line 30 you'll see:
Increase the SG_DYNAMIC_SHADOW_INTENSITY value for darker shadows and decrease it for lighter shadows.