Great code, ive been looking for this.
I got some really dumb questions though, you are free to toss some shoes on me but please gimme an answer at the same time if you have them since i just cant get this shader/material stuff into my head - its a total mental-block!
In a previous thread (idiots...) i found out that my card (geforce2 mobile)shouldn´t be able to handle shaders. Is this not a shader?
If its not, What is it then (technically speaking)?
Can i do other stuff, like taking control of the gourad shading on terrains and such with the same type of techniques?
One of the reasons im all this stuff is cause i am aiming to get a fairly low hardware req. spec for my current game, and i dont want to force people getting new cards and such