I’ve got a little problem.
There are two objects in my scene.
One - with texture (defininG:
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_Decal )
Another - without it (defininG:
GlColor3f(…,…,…)
And one liGht source.
When i renderinG it, the second object has stranGe grey color. How should i fix it?
Make sure you disable texture after drawing the textured object.
Is that
GLDisable(GL_Texture_2D) what you mean?