Dif lightmap error
by Jedive · in Torque Game Engine · 09/25/2005 (12:58 pm) · 1 replies
Hello, we made .dif files, and when we try it on TGE, .dif files show its lightmap around terrain (also terrain lightmaps .dif files), but dif itself dont cast shadows.
Look at this:

As you can see, player model have its shadow who is cut by the handrail, but the handrail dont make any lightmap/shadow onto the dif model.
Im I doind something wrong? player shadow looks horrible this way.
Look at this:

As you can see, player model have its shadow who is cut by the handrail, but the handrail dont make any lightmap/shadow onto the dif model.
Im I doind something wrong? player shadow looks horrible this way.
Torque Owner John Kabus (BobTheCBuilder)
-Use dts objects as the railings - these won't carve up the shadows, however the shadows won't affect the dts objects either.
-Increase the light map accuracy on that interior, so the railing's shadow fills in the gap in the player's shadow. You can increase the lighting accuracy by lowering the lighting_scale member of the map file's world spawn. Also the Torque Lighting Kit has custom entities that allow you to adjust the lighting scale on the brush level (check the Modeler's Guide for details).