shaders

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
nathanf534
Posts: 199
Joined: Tue Dec 09, 2008 2:55 am

shaders

Post by nathanf534 »

Does anyone know where a good tutorial is on shaders for openGl (glsl), and also an API for it similar to irrlichts? (It has a list of all methods, etc you can use)

I have looked at the shader example in Irrlicht, and searched googled, but haven't found anything very helpful.
while(signatureEmpty){cout<<wittyComment();}
DtD
Posts: 264
Joined: Mon Aug 11, 2008 7:05 am
Location: Kansas
Contact:

Post by DtD »

Well, it isn't GLSL, but I really liked "The Cg Tutorial" for learning Cg, and you can get IrrCg and use Cg with Irrlicht. It is cross-drive and cross-platform.
stefbuet
Competition winner
Posts: 495
Joined: Sun Dec 09, 2007 4:13 pm
Location: france

Post by stefbuet »

I personnaly learned GLSL looking at some others' shaders and some tutorials too. There are a lot of GLSL tutorials which are about OpenGL too, but you can only look at the GLSL shaders part.
Here is an exemple :
http://www.swiftless.com/glsltuts.html
I found also some good PDF explaining how to do per pixel lighting, starting from nothing explaining basic stuff, first coloring objects, then per vertex lighting and then per pixel. I don't remember the link, but Google about lighting & GLSL and you will find it. :P
Post Reply