Jump to content
  • Advertisement
Sign in to follow this  
redneon

OpenGL Getting shaders into my head

This topic is 4427 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've read through most of the OpenGL Shading Language and The Cg Tutorial as I'm trying to learn shaders. The problem I'm having is that neither of these books tell you how to implement a shader in OpenGL. They just give you the code for vertex and fragment applications. Admittedly, the OpenGL Shading Language does give you an "install" function for the shaders but I have no idea how to use it. I also looked at RenderMonkey, which I really like. It allows me to create shaders really quickly but, once again, the only code you can get out of it is for the vertex and fragment shaders. Am I missing something here? Is it really that simple to implement them that I should be able to figure it out for myself? Can anyone point me in the direction of a decent GLSL tutorial which will show me how to implement a shader in OpenGL? Or, are there any libraries avaiable which will take a RenderMonkey shader and convert it into OpenGL code?

Share this post


Link to post
Share on other sites
Advertisement
The shaders created in RenderMonkey are ready to use in normal apps, look at www.lighthouse3d.com for GLSL tutorial. The site explains how to inject them in your app.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!