15
May
08

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.

Advertisements

0 Responses to “Maths Surfaces Lighting”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Twitter

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

Links

Blog Stats

  • 474,034 hits

%d bloggers like this: