Deferred shadowmaps

Yes. They are finally happening after all this time.

So now I’ve got fully deferred lighting, but I have CSM for directional lights and now, with the twiddling of some shader math, shadowmaps for spotlights!


There we are!
The same ol’ shadows, except now they aren’t rendered using forward rendering and therefore run about a million times faster (n-… not actually the real number).

Anyway. As you can also see the Gobos are back in action. These are actually very easy to implement once shadowing is working and vice versa.

I’ll go back to work now.

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s