GLSL in OpenGL MFC program
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!
Re: GLSL in OpenGL MFC program
The tutorials on http://www.lighthouse3d.com 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.