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

OpenGL Cube Environment Mapping

Loading...

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

Uploaded by on Oct 26, 2011

This video demonstrates environment mapping using a cube map applied to a torus knot. I used ideas and template code from the Cg tutorial and code sampler Cg demos. Converted the Cg shaders to GLSL.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (GraphicsProgrammer)

  • nice rendering ;)

    I wonder : are Cg shaders widely used or do you think it's better focusing on learning GLSL ?

  • @MaitredeDieu Cg is more mature but you will need the Nvidia toolkit and their run time library so it will require additional dependencies. Also, Cg is a vendor specific product so you will often hear that Cg doesn't work as well on AMD hardware. GLSL is also built-in to OpenGL so nothing more is required. For these reasons, most prefer GLSL. People who work in graphics seem to know all 3 shading languages so it really doesn't matter which one you start out with.

see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • @GraphicsProgrammer sticking to my AMD gpu and GLSL then. Many thanks for the explanation :)

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