Hi, I meet a problem in rendering a textured train.
When I use material I can get the image like the left image.
But when I change to use a texture the image is right image.
I use one light in my scene, set the Ambient=0.1, Diffuse=0.2, Specular=0.1
For Texture para
glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL);
glEnable(GL_LIGHTING)
What is the problem? How can I get the right result!
Thanks for all!