Phong Shading
Does OpenGL support Phong Shading?
I know that Gourad shading can be simply used with this setting:
glShadeModel(GL_SMOOTH)
but for Phong i didn''t found anything
Thanks in advance
Vilemini (whitenoise@tiscalinet.it);
By the moment, the pong shading is reserved for the ray tracers,
OpenGL don´t implement Pong Shading because this method calculate the image to represented point by point(the computational cost is very high), the smooth shading, calculate the only color or the vertices and make a polygon fill with a transition of colors between two vertices.
OpenGL don´t implement Pong Shading because this method calculate the image to represented point by point(the computational cost is very high), the smooth shading, calculate the only color or the vertices and make a polygon fill with a transition of colors between two vertices.
with the geforce 2 and perpixellighting pongshading is coming soon, but currently, it''s not that easy to support perpixellighting(==pongshading), just look at www.opengl.org, there is a link.. one moment..
that should work..
that should work..
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement