Disco Lights?

Blitz3D Forums/Blitz3D Programming/Disco Lights?

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.

You'd need a good number of vertices on your mesh, if you want a decent spotlight effect. If you tried to shine a dx light (the ones blitz uses via createlight) onto a room made up of 2 triangles for each wall, the effect would fail miserably.

I would combine the Dx lights with some sprites, or even cone meshes, to show the light travelling through the air. Remember there is a limit to the number of lights you can have, 16 maximum, less depending on your card. Also remember that shining lights costs time per loop, as each vertex is calculated with what lights are shining etc.