Game Development Community

Pref::Interior::DynamicLights -- Missing or Replaced?

by Jeff Faust · in Torque Game Engine Advanced · 12/30/2006 (7:27 pm) · 2 replies

TGE has the preference, pref::Interior::DynamicLights which enables/disables some code in interiorInstance.cpp. In TGEA, the preference and the code is gone.

I was wondering if someone could clarify for me if this code is just missing from the current version of TGEA and may return in the future, or if it is permanently gone, perhaps replaced with an alternative? If replaced, what code is doing the same thing?

I'm asking this because I have some code for TGE which was based on the way interior dynamic lighting was being handled, and would like to find how it's being done in TGEA.

About the author

Jeff Faust creates special effects indie middleware and games for Faust Logic. --- Blog: Effectronica.com --- Twitter: @FaustLogic


#1
12/31/2006 (10:49 am)
Hey Jeff,

Dynamic lighting is always enabled in TSE. Collecting the interior dynamic lights and rendering them is similar to TGE, though TSE uses deferred rendering via render instances - check out Interior::renderLights in interiorRender.cpp.
#2
12/31/2006 (11:46 am)
Thanks John, that was just the info I was looking for... I'll check out Interior::renderLights() and see what I can learn from it.