this saves the redundant lighting stage

This commit is contained in:
Asad M. Zaman 2006-02-02 00:33:25 +00:00
parent 7947752d19
commit 7d3829ceb6
1 changed files with 4 additions and 0 deletions

View File

@ -2340,6 +2340,10 @@ set_shader_attributes(EggPrimitive &primitive, const MayaShader &shader,
}
}
}
// we don't want an extra light stage for interpolate mode, it takes care of automatically
if (is_interpolate)
is_decal = false;
// new decal mode needs an extra dummy layers of textureStage
EggTexture *dummy_tex = (EggTexture *)NULL;