Fake Lighting Techniques For Blitz3d

Blitz3D Forums/Blitz3D Programming/Fake Lighting Techniques For Blitz3d

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.

Hi,

I've run into a problem that I'm sure others have had in the past.

I need to simulate a rotating hazard warning light.

Normally, I'd just use a Blitz 3D Spotlight, but my level is lit using a gile[s] lightmap, so it won't work. I think it has something to do with Blitz only supporting 2 sets of UV coords.

Anyway, I seem to remember a while back that someone came up with a technique that used something like an EntityBlend on a textured sphere to simulate a moving light spot.

The texture was a radial gradiant and when combine with the level mesh it created a fairly convincing fake light effect.

Does anyone have the code, or know how to acheive somehing like this?

Thanks in advance,

Rogue Vector.