projecting texture on model

Blitz3D Forums/Blitz3D Programming/projecting texture on model

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.

Hey,

I saw a game demo a while ago, where a character was walking under some trees, and the trees were partly blocking the sunlight.

The sunlight was "animating" on the floor, and on the character when he/she was walking under it.

But...the texture projected on the character was not moving. It was like the situation where a big blanket is tied on the floor, with someone under the blanket walking. The blanket wraps around the character when he/she walks put the blanket stays put.

Gee, did I explain that well enough?

How is something like this done? Is it really a shape with texture, modified, or a simple "trick"?