Jump to content
  • Advertisement
Sign in to follow this  
Hepy

Opengl and Shaders

This topic is 4826 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

Hello, i'm new to all this and i have 1 simple question. Can you use shaders with the current version of opengl. And if so how would i go about applying to my 3d objects. Thanks, Hepy

Share this post


Link to post
Share on other sites
Advertisement
I know that you can use glsl with Opengl 2 but thats not open to the public.
Hepy

Share this post


Link to post
Share on other sites
If you search the forum, or just browse back a few pages, you'll see a lot of shader-related topics that point out that GLSL is already chosen over CG.

If you go to link, you'll see that it's already implementable. The tutorial guides and gives more info then I can type here.

Share this post


Link to post
Share on other sites
There are three ways to use shaders with OpenGL:

1. assembly shaders - extensions GL_ARB_vertex_program and GL_ARB_fragment_program
2. GLSL shaders - extensions GL_ARB_vertex_shader and GL_ARB_fragment_shader or OpenGL 2.0
3. CG shaders - Download CG SDK from Nvidia's site

GLSL might be the best choice

Share this post


Link to post
Share on other sites
hey, thanks for the link. are these capabilites open to opengl 1.4
hepy

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Currently you have access to GLSL through ARB_vertex_shader and ARB_fragment_shader. It does not matter what version of OpenGL you have, as they are extensions! OpenGL2.0, however, will be including GLSL in the core.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!