Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

OpenGL GLSL Gouraud Shading

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,331
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 23, 2009

This is a demo of the fixed-pipeline Gouraud shading. Check out Blinn-Phong and Phong shading models to compare!

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (OrigonWaltz)

  • good video.

    how long did this take to create and how did you make it?

  • Making this is pretty straigthforward using OpenGL since the shade model GL_SMOOTH is actually a Gouraud shading.

    However, Phong and Blinn-Phong shading models in my other videos require per-fragment calculations which can only be done with a shader.

  • @OrigonWaltz not true, OpenGL does not have native support for gourade shading.

  • @SuperFeimer Yes it does. When you use GL_SMOOTH, you basically ask OpenGL to do a Gouraud shading. I'm pretty sure I'm not wrong here. Give us a reference if you still think you are right please, I'll be pleased to correct myself!

see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • @cplusplusish Its beatiful to see a peacefull discussion in youtube for a change! heheheh

  • @OrigonWaltz Technically speaking, OpenGL does not support Gouraud shading directly with the snap of your fingers. It simply uses a more general method called smooth (or interpolative) shading in which it interpolates colours between vertex normals. It does not calculate normals for you! That's up to you and that's why it can't be called Gouraud shading. If you compute a vertex normal as the normalised sum of all the vertex normals shared by a particular vertex, you get Gouraud shading.

  • @OrigonWaltz I am also SuperFeimer. You're completely correct, I'm sorry. Back then I misunderstood what gouraud shading was, for some strange reason I was under the impression that gouraud shading was something different to what you said.

    I feel so stupid, of course OpenGL supports gourard shading!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more