Currently browsing tag

GLSL

5. OpenGL 4 Vertex Buffer Objects (VBOs) for Color

Because OpenGL 3.x and OpenGL 4.x deprecated and then removed virtually all of the fixed function pipeline, how do we colour our polygons these days?. This tutorial will show you how to use two Vertex Buffer Objects inside of a Vertex Array Object to both draw and colour our shapes at the same time.

4. OpenGL 4 Vertex Array Objects (VAO)

OpenGL 3.x and OpenGL 4.x deprecated virtually all client side rendering calls such as glEnable(GL_TRIANGLES) and glVertex3f, so how do we render things these days?. This tutorial will show you how to use Vertex Array Objects and Vertex Buffer Objects to render in compliance with OpenGL 3.x and up at blistering speeds compared to previous rendering methods in OpenGL.

2. OpenGL 4 Shaders

OpenGL 3.x and OpenGL 4.x rely on you to use shaders for all of your effects. This tutorial will show you how to incorporate the shaders from the GLSL section of the site into our new framework.

8. Bump Mapping in GLSL

GLSL Bump Mapping Tutorial PreviewBump mapping adds an extra sense of realism to today's computer graphics applications that is so simple, it just cannot be ignored. Learn how to do this in GLSL with OpenGL.

Swiftless GLSL Shader Developer

Swiftless GLSL Shader Developer is a new shader designer/creator which is currently in it's first public release. It features fragment, vertex and geometry shader support, as well as post processing.

7. Texturing in GLSL

Tutorial PreviewGLSL also gives us the texture coordinates that we assigned in OpenGL. This means that if you pass the texture id to the shader, you can replicate all the texturing done in OpenGL.

6. GLSL Materials

Tutorial PreviewJust like lighting and coloring, OpenGL will pass us the material information for objects, allowing us to light our objects just as they would be in the fixed function OpenGL state. This tutorial will show you how to get and use the material information on your lit objects.

5. GLSL Per Pixel Lighting

Tutorial PreviewPreviously, we looked at simuling OpenGL per vertex lighting. Now we are going to learn how to do per pixel lighting, achieving a more realistic lighting effect.

4. GLSL Lighting

Tutorial PreviewGLSL also overwrites the default lighting in OpenGL, but once again, OpenGL passes all lighting information through to us in GLSL for us to use. This tutorial will teach you how to use this information to perform per-vertex lighting, identical to that in standard OpenGL.

3. GLSL Coloring

Tutorial PreviewColoring in GLSL overwrites any colors you introduced into your application. But OpenGL can pass your colors to GLSL for you to use.