Game Development Community

Interior detail maps / vector lighting

by Tim Heldna · in Torque Game Engine · 02/07/2007 (4:19 pm) · 5 replies

Hi,

Does anyone know why interior detail mapping does not work with vector lighting enabled?

#1
02/07/2007 (8:05 pm)
You mean setting this:
$pref::OpenGL::sgDynamicDTSVectorLighting?

It should work, I just tested it out. Make sure $pref::Interior::sgDetailMaps is set true, if it was inadvertanly switched off.

Do the detail mappings disappear immediately after setting the vector lighting or is it something that crops up at a later time?
#2
02/07/2007 (8:45 pm)
No, I mean this setting:
$pref::Interior::VertexLighting

Detail maps do not appear on interiors with the above setting enabled.

I was wondering whether this was done by design or is it a bug / something that's been overlooked.

Vertex lighting improves the quality of lighting on my interiors quite substantially however I would like to keep detail maps as well.
#3
02/07/2007 (11:05 pm)
If you want to use vertex lighting, you will not be able to use detail maps. Vertex lighting was only designed to be used on low-end machines, and is actually less precise than the standard lighting, so support for detail maps using vertex lighting doesn't exist.
#4
02/08/2007 (12:23 am)
Ok, thanks for the explanation.

Though I must say that vertex lighting looks far better on my test machines (not low end PC's) than standard lighting.

Vertex lighting actually shades the interiors resulting in a less unvarying result as opposed to the standard lighting where interiors look like they're being lit evenly (and far too brightly).
#5
02/08/2007 (6:17 pm)
If you're interested, here's some screenshots to illustrate my point:

Vertex Lighting Disabled:
i5.photobucket.com/albums/y189/fjs/vertex_disabled.jpg
Vertex Lighting Enabled:
i5.photobucket.com/albums/y189/fjs/vertex_enabled.jpg