Is there a line missing from the lighting pack in terrRender.cc?
by Joseph Villard · in · 06/26/2005 (10:23 am) · 2 replies
Hi, John,
Torque 1.3 (the final stable release) - has a line in terrainRender.cc that is missing in the lighting pack.
line 2264 - terrainRender.cc
if (mEnableTerrainDynLights && sgCurrLightTris) {
glEnable(GL_TEXTURE_2D);
**** glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); ****
Any thoughts? Keep it? Get rid of it?
Thanks,
Joe
Torque 1.3 (the final stable release) - has a line in terrainRender.cc that is missing in the lighting pack.
line 2264 - terrainRender.cc
if (mEnableTerrainDynLights && sgCurrLightTris) {
glEnable(GL_TEXTURE_2D);
**** glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); ****
Any thoughts? Keep it? Get rid of it?
Thanks,
Joe
Torque Owner John Kabus (BobTheCBuilder)
The Lighting Pack code replaces that line, so you can safely ignore it (or you can leave it in and commented it out). This post should really be in the Lighting Pack Private forum.
-John