Options:

Adding softness to shadows

In my efforts to make the shadows soft, based on the formulas for penumbras, I finally realized that my method does not support physically correct penumbra softness, but I will explain the reason for this when I do the tutorial.

Until then, here’s what I came up with, after applying some Gaussian blur to the final shadow image. (variable degree of softness)

2dShadowMaps 2009-10-01 23-40-40-79

2dShadowMaps 2009-10-01 23-41-11-51

Even if it’s not physically correct, I still think the softness looks good enough.

There’s also an interesting looking result when the radius of the Gaussian Blur depends on the distance from the light…

2dShadowMaps 2009-10-02 00-01-58-45

7 Comments so far »

  1. by Gabriel Rotar, on 10.01.09 @ 11:15 pm

    That is pretty cool, the radius trick makes the light diffuse, witch is physically correct.

  2. by Alex, on 10.02.09 @ 12:35 am

    Wow – really cool! I’m really looking forward to the tutorial! Nice work.

  3. by Klinge, on 10.02.09 @ 11:58 pm

    Looks fantastic! Can’t wait for the tutorial!

  4. by Niko, on 10.25.09 @ 12:42 am

    Amazing… Looks very nice, love to see that a tutorial is coming, thanks!

  5. by David, on 10.27.09 @ 7:44 am

    Can’t wait for this, looks fantastic!

  6. by agentili, on 11.05.09 @ 4:25 pm

    Really good effect, looks pretty correct.

  7. by RelativeSpace, on 01.25.10 @ 10:27 pm

    That looks awesome, and efficient. Thanks!

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: