Ultra fast shadow mapper

Blitz3D Forums/Blitz3D Programming/Ultra fast shadow mapper

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It's quick...

I would suggest that it's not actually doing shadow mapping as nothing is casting a shadow, also, you're not getting variation in brightness dependant on the slope incline/decline.

It's alright as a starting point, but certainly needs more work.

Look up cosine interpolation for when you've got a lightsource hitting it from different directions. It's a good way to find the inbetween points between points.