Page 1 of 1

lighting

Posted: Fri May 01, 2009 9:13 am
by overburn
is it possible to implement lighting so that the shading is done on a per pixel basis, not per polygon basis?

Posted: Fri May 01, 2009 9:43 am
by B@z
check the "specialFX" tutorial :P

Posted: Fri May 01, 2009 9:44 am
by hybrid
Well, better check examples 10 and 11 (the latter has parallax and normal maps, which use per-pixel lighting, the former is doing shaders more generally).

Posted: Fri May 01, 2009 10:54 am
by B@z
oh, really, sry.
anyway, check the examples xD
"per pixel lighting" named example.. :D