06
Mar
08

Superformula Normals

I’m not having any luck getting lighting working in the Superformula shader, so I’ve decided to cut my losses for the moment, and strip out all the normal calculation code, since it wasn’t doing anything useful. I’ve added a new Range parameter for added control of the shading effect.

It looks nice, so I’m happy for the moment. I’m starting to suspect that adding lighting calculation might come with a big performance hit, anyway. I’m already slowing things down with the supersampling necessitated by the lack of GPU antialiasing, so maybe I should’t push things any further, anyway.

I’ll post some screenshots tomorrow.

Advertisements

0 Responses to “Superformula Normals”



  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

March 2008
M T W T F S S
« Feb   Apr »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Links

Blog Stats

  • 472,055 hits

%d bloggers like this: