Another Shadow routine...

Blitz3D Forums/Blitz3D Programming/Another Shadow routine...

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.

A few thoughts. Once upon a time I wrote this little shadow demo (formerly knows as norc). My biggest mistake was to think a shadow towel needs to be object oriented. Today I think, it would be much more clever when the towel acts camera oriented. In other words, lay down the towel on the ground that is right in front of the camera. Make sure it will cover the whole field of view and problaby use EntityAutofade to smoothly fade out the shadow towel mesh in the distance.

The second problem is: aligning the towel to the ground. Linepicks are very slow, indeed. But how about to pre-compile the static ground, using some kind of raster? It may eat some megs of ram to hold the data. Not a big problem IMO.

I think this would be very fast.