My second question is why when I insert a texture materials colors change and I can't have the effect that I want.
I attach a image of my sphere.
I want to have the glass effect on trasparent sphere. (I used alpha blending to do it);
If you need I can insert my code. To make all object I used quadric with glu (also to map the texture I used gluQuadricTexture, but background is inserted normally with texture position on screen position).
I use OpenGL with C programming language.
Schermata 2011-07-21 a 22.36.21.png 433.77K
65 downloads

Find content
Not Telling