I have a nice little tetris clone under development. It’s my first opengl serious program.
It works but my piece are made with simple colored quads.
No i want them to be textured.
I’ve made a bmp loader, and i generate textures. Cool, huh ?
Except the fact that if i put glEnable(gl_texture_2d) everything goes blue (every colors seem to lose a little R and G value).
So i’m stuck.
Any advice ?
UPDATE :
In fact it’s not only blue. It seems to depend of the texture’s dominant color.
For exemple, if put a red texture on a quad, my entire display turn almost red.
[This message has been edited by Maxy (edited 12-15-2003).]