Question on Texture

I render a 3D model with texture. The rendering color is not smooth! it looks like an image of 256 color.

I replaced the rendering code with glDrawPixels(…) to draw the picture image. The result is very good.

I’m deeply confused with that problem.

Would someone of you help me?

Thank you!

Doggle

Please post your texture definition code (glTexImage2D et al)

Also, please post a screenshot if possible.

try using a different format viz RGB(A)10, 12 or 16 when defining the texture.