Game Development Community

scatteredsky lighting effecting interiors

by Greg M · in Torque 3D Professional · 01/23/2011 (8:57 pm) · 21 replies

I believe this has be mentioned before but am unable to locate it.
scattered sky lighting effect interiors even fully enclosed areas.
this is killing the ability to do caves or building with specific interior lighting effects.
has anyone found a way to fix this?
pic bellow is an enclosed cave area. only illumination is from the scatteredsky.
home.comcast.net/~gembone/screenshot_005-00000.png
Page«First 1 2 Next»
#21
01/27/2011 (9:55 pm)
If you have a sun, you have to have ambient lighting (shadow colour).

You can lightmap/tonemap it and set the subsurface on the material to a low colour - this helps to prevent the majority of the ambient lighting affecting the tonemap.

This doesn't affect non-tonemapped objects of course ... I was thinking some sort of trigger and skin-swap could be used for that.

subSurface[0] = "1";
   subSurfaceColor[0] = "0 0.1 0.2 1";

Or just make your ambient really dark if you can live with that outside.
Page«First 1 2 Next»