Lightmap GL madness
by Diesel · in Torque Game Engine · 10/27/2005 (11:29 am) · 1 replies
Hiya,
I'm currently trying to implement some sort of bump for interiors. It's working fine but I ran into trouble when trying to combine it with the lightmaps. The lightmap was displayed as pink garbage. So I commented all of my bump code out and tried to bind those two textures myself (GL_MODULATE base texture over gInteriorLMManager.getHandle(mLMHandle, instanceHandle, baseName)->getGLName(). I am now seeing the same thing:

Can somebody please explain that to me?
EDIT: Looks like processTriFan() does all the magic. Will look into it.
I'm currently trying to implement some sort of bump for interiors. It's working fine but I ran into trouble when trying to combine it with the lightmaps. The lightmap was displayed as pink garbage. So I commented all of my bump code out and tried to bind those two textures myself (GL_MODULATE base texture over gInteriorLMManager.getHandle(mLMHandle, instanceHandle, baseName)->getGLName(). I am now seeing the same thing:

Can somebody please explain that to me?
EDIT: Looks like processTriFan() does all the magic. Will look into it.
Torque Owner Diesel
Default Studio Name
see here