Simple Shadow Mapping

I got shadow mapping working today 😀

I remember writing one of these using OpenGL’s fixed function pipeline a while ago so i knew how to go about doing it. I used reimer’s tutorials as a guide though. Next step is to do CSM(Cascaded Shadow Mapping). jcoluna did it in his light pre pass renderer so i’ll use it as a guide. There’s another link to a sample here.

My code’s a bit messy, but its still available for download

download link

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 )

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