Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualSuperVGA

Posted 22 January 2013 - 03:33 AM

There are plenty of resources on this! All I did was google glCreateProgram, but for somebody new to shader, try googling GLSL Tutorial!
 
Try these:
http://samplecodebank.blogspot.dk/2011/05/glcreateprogram-example.html
http://www.lighthouse3d.com/opengl/glsl/
http://www.clockworkcoders.com/oglsl/tutorials.html
The lighthouse3d ones are really good! You will create a GLSL program object by calling glCreateProgram. To this object, you can attach Vertex, Geometry and Fragment shaders.
To start off with, why not try a vertex shader?
 
Have a look at http://www.lighthouse3d.com/tutorials/glsl-tutorial/hello-world-in-glsl/.
It's not as difficult as it seems at first. smile.png
Good luck.

#3SuperVGA

Posted 21 January 2013 - 02:58 PM

There are plenty of resources on this! All I did was google glCreateProgram, but for somebody new to shader, try googling GLSL Tutorial!

 

Try these:

http://samplecodebank.blogspot.dk/2011/05/glcreateprogram-example.html

http://www.lighthouse3d.com/opengl/glsl/

http://www.clockworkcoders.com/oglsl/tutorials.html

The lighthouse3d ones are really good! You will create a GLSL program object by calling glCreateProgram. Tho this object, you can attach Vertex, Geometry and Fragment shaders.

To start off with, why not try a vertex shader?

 

Have a look at http://www.lighthouse3d.com/tutorials/glsl-tutorial/hello-world-in-glsl/.

It's not as difficult as it seems at first. :)

Good luck.


#2SuperVGA

Posted 21 January 2013 - 02:57 PM

There are plenty of resources on this! All I did was google glCreateProgram, but for somebody new to shader, try googling GLSL Tutorial!

 

Try these:

http://samplecodebank.blogspot.dk/2011/05/glcreateprogram-example.html

http://www.lighthouse3d.com/opengl/glsl/

http://www.clockworkcoders.com/oglsl/tutorials.html

The lighthouse3d ones are really good! You will create a GLSL program object by calling glCreateProgram. Tho this object, you can attach Vertex, Geometry and Fragment shaders.

To start off with, why not try a vertex shader?

 

Have a look at http://www.lighthouse3d.com/tutorials/glsl-tutorial/hello-world-in-glsl/.

It's not as difficult as it seems at first.


#1SuperVGA

Posted 21 January 2013 - 02:57 PM

There are plenty of resources on this! All I did was google glCreateProgram, but for somebody new to shader, try googling GLSL Tutorial!

 

Try these:

http://samplecodebank.blogspot.dk/2011/05/glcreateprogram-example.html

 

 

http://www.lighthouse3d.com/opengl/glsl/

http://www.clockworkcoders.com/oglsl/tutorials.html

The lighthouse3d ones are really good! You will create a GLSL program object by calling glCreateProgram. Tho this object, you can attach Vertex, Geometry and Fragment shaders.

To start off with, why not try a vertex shader?

 

Have a look at http://www.lighthouse3d.com/tutorials/glsl-tutorial/hello-world-in-glsl/.

It's not as difficult as it seems at first.


PARTNERS