glShadeModel(GL_SMOOTH) dosnt work!?
im specifying the normals per triangle
while(Faces)
{
glNormal3fv(norm);
glVertex(...)
glVertex(...)
glVertex(...)
Faces++;
}
glShadeModel(GL_SMOOTH) has no effect on the shading, its just
GL_FLAT ...
any ideas how i can fix this?
or do i have to manual normal averaging ???
thanx in advance
danu | silvermace
That thing is not for light, but for color. if you want to do that for lights, do a normals averaging, per vertex...
Height Map Editor
Height Map Editor
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement