Archive for May 15th, 2008

15
May

Maths Surfaces Lighting

I’ve just realised something that’s been blindingly obvious all along- namely that the lighting on the Maths Surfaces shaders (all 55 of them) goes the wrong way (ie, it’s DARKER, rather than lighter nearer the position of the light-source).

This is a bit annoying, because now I’ve finally spotted it, I’ll have to fix it….

I’m not sure whether to go for just fixing the current simple shading model (as above), or to go for the whole lookup table and surface texture tiling setup, as used on the Spherical Harmonics shader.

The second option is probably best, but does require an awful lot of copying, pasting, input-publishing and patching, unfortunately.




 

May 2008
M T W T F S S
« Apr   Jun »
 1234
567891011
12131415161718
19202122232425
262728293031  

Categories

Links

Blog Stats

  • 24,717 hits