GLSL in OpenGL MFC program

hi all,

i’m beginner in GLSL. looking thru various tutorial for writing the vertex shader & fragment shader, there’s lack of documentation for the setup, especially for MFC; i can’t figure out way to attach those shader into my existing MFC Opengl program. any pointer to how to do this?
thanks a lot!

The tutorials on were pretty neat, try with the google cache version, as currently their site seem down.

You have to know how to use GL extensions, either by using a lib such as GLEW, or manually.

The Nvidia and ATI SDKs have lots of code examples for it.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.