PDA

View Full Version : Phong Shading



07-03-2000, 08:46 AM
How is it possible to use Phong Shading (as an extension or otherwise)?

07-04-2000, 07:15 PM
hi !!
I think there is no extension for the phong shading.
I do know that about half a year the opengl.org site published a code that implements the phong shading, if it is important for you - try searching it..

07-04-2000, 07:20 PM
maybe?
http://oss.sgi.com/projects/ogl-sample/registry/WIN/phong_shading.txt

Serge K
07-05-2000, 10:46 PM
Never heard about actual implementation of GL_WIN_phong_shading.

You can use multipass rendering with environment maps to approximate it.

or try perpixel lighting demos from NVIDIA's dev. site - Phong shading is very similar to dot-product bumpmaping (but without bumps http://www.opengl.org/discussion_boards/ubb/wink.gif).