Game Development Community

TGEA terrainLight datablock

by Steven Chiu · in Torque Game Engine · 04/13/2007 (2:04 am) · 1 replies

I found that there exist a terrainLight datablock for TGEA lighting system. What's its usage?

What does the LightMaskCubeMap attribute mean?

#1
04/13/2007 (12:35 pm)
It's one of the test datablocks we use to test new and current features. The cube map field allows you to use a predefined cube map to affect the lighting - this can produce many different effects like shadowing and stained glass:

tdn.garagegames.com/wiki/images/6/68/TSE-LightMasks-small.jpg
You can add the cube map's name into the light editor to assign it to the light.