Skip to main content
GameDev.net gamedev.net
🔒 Locked

learning GLSL (shader-language)

Started by Chr Apr 30, 2005 at 12:51 PM 4 replies 3.4k views
Original Post
Chr
Chr
Are there tutorials on GLSL? Not only programming, basics too, like linking and integrating in your program.
_the_phantom_
_the_phantom_
there are loads, a google on "OpenGL shading language' should turn up plenty.

As for intergrating, for anything beyond a simple 'load it and binding', which a tutorial will cover then thats a VERY large subject on its own and generally isnt covered by simple tutorials.
MARS_999
MARS_999
Quote:
Original post by James Trotter
I'd recommend the OpenGL Shading Language. It's a very complete reference.


I have that book, and can recommend it also. Its as useful as the red book.
noisecrime
noisecrime
Learning GLSL
LightHouse GLSL Tutorial
ShaderTech (formally cgShader.org) 3 pages of GLSL articles, forum etc.
Clockwork Tutorials
3D Shaders.com Home of the Orange GLSL Book. The following two chapters are online and wel worth reading.
Chapter 6 of the Orange Book
Chapter 3 of the Orange Book
Opengl Shading Langauge

You should also download stuff like 3D Labs software (ShaderGen and GLSL Demo), ShaderDesigner and (Ati) Rendermonkey 1.6. In my expereince on a Radeon9800 Rendermonkey has been the best for developing and viewing GLSL shaders. 3D Labs GLSL has odd behaviour, it tells me the shaders are running in hardware, but the performance is definately software (i.e < 1 fps). In ShaderDesigner i'd say something like 60% of the sample shaders fall into software mode, for no good reason.

Hope this helps

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.