Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: GLSL in OpenGL MFC program

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2003
    Location
    Singapore
    Posts
    7

    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!
    Like

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •