Page 1 of 1

cgfx shaders for SI, that using more than one lightsource

Posted: 12 Aug 2010, 18:53
by Taros
Hello.

Do someone have a code example for a SI compatible cgfx shader, which supports more than one light source?
I've searched the whole "(X)SI internet", but haven't found anything really usable. The examples that are delivered with SI are not really helpful.

Best wishes
Chris

Re: cgfx shaders for SI, that using more than one lightsource

Posted: 25 Aug 2010, 16:45
by Cryrid
Here's a CGFX shader with 4 lights: http://cryrid.com/art/?p=50

edit by owei: please use the URL tags ;)

Re: cgfx shaders for SI, that using more than one lightsource

Posted: 25 Aug 2010, 17:51
by Taros
Thanx. Helped a lot.