Skip to content

First Steps with GLSL (2)

by Adam on August 16th, 2005

I have to say that OpenGL 2.0 and GLSL are a powerful team. It is much easier to use than ARB_(vertex|fragment)_program. Writing shaders in assembly language is useful for some things (linear genetic programming) but to actually get into shader programming you have to opt for a high level shading language (no matter which one). Here is a shot of the first shader I got running.

Figure 1. Normal Coloring (my first shader)
Figure 2. ivory.[vf]sh from the ATI SDK

The next step is to actually learn GLSL and how it interacts with OpenGL 2.0. It looks pretty easy, especially compared to ASM programming. If you are looking to create a real world project your best bet is currently ARB_(vertex|fragment)_shader since it has the widest driver support (backwards compatibilty).

From → Uncategorized

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS