Game Development Community

TX3D 3.1.5 Beta 2 - Terrain unaffected by lighting

by Henry Shilling · in Torque X 3D · 07/17/2010 (7:50 pm) · 0 replies

Build: 3.1.5 Beta

Platform: Windows 7-64 (specs i7 920, nVidia GTS250 6GB ram)

Target: VS2008 pro, Xbox

Issues: Change Sun Lighting, Terrain is unaffected

Steps to Repeat:

1) Change sun ConstantAttenuation and LinearAttenuation fields.

2) Objects in the scene are affected, terrain is not. Actually objects go black.


Suggested Fix:
Is this something to do with the terrain lightmap? does the lightmap set the actual lighting of the terrain and not the "sun" or other lights? I would think that the lightmap would affect how the terrain reacts to the light, not actually light the terrain.

Edit: I have confirmed this, removing the lightmap from the terrain, makes it go all black, regardless of the lighting.