Game Development Community

Datablock

by Fucifer · in Torque Game Engine · 04/11/2007 (6:58 am) · 2 replies

I have been doing some searching is there a document that tell us what we can put in datablock for lighting and what each one means.

Example: LinkFlare, FlareTP, etc.

#1
04/13/2007 (12:45 pm)
The sgLightObject datablock fields are explained on a higher level in the TDN section, some of the members are commented in the code (many are somewhat self-explanatory).

However the fields you're looking for are derived from the stock Torque class fxLight, which is a little harder to follow. We actually left a lot of the fields out of the light editor to avoid confusion. There's some great stuff in there and you can create awesome effects, but it takes a lot of experimenting.
#2
04/15/2007 (1:28 pm)
Thanks, found it.