Lights in Blittz 3D

Blitz3D Forums/Blitz3D Programming/Lights in Blittz 3D

msx123(Posted 2004) [#1]
Hi guys,

Some time ago i watched a demo, in this demo you have something like 256 lights on screen at the same time... anybody remember this?, iŽd like to have it but i lost the link

thanks,


GfK(Posted 2004) [#2]
You're probably mistaken. The limitations of DirectX make this technically impossible.


AntonyWells(Posted 2004) [#3]
You need to do render-based cubic lighting(As opposed to multi-pass), then additional per-pixel/colored/even specular lights add about 4 polys worth of overhead, I've had 50 close by per-pixel lights running in cryo no probs.


Damien Sturdy(Posted 2004) [#4]
Gfk:

is it not possible to multirender, repositioning the lights each time?


morduun(Posted 2004) [#5]
Cygnus: no; it's a limitation of the real-time hardware. If the demo you mention is the demo I remember they were 'faked' sprite lights, balls bouncing against the walls and 'flashing' when they hit. That's all faked. You can never plan on more than 8 hardware lights available for any given card, though some have more.


Ice9(Posted 2004) [#6]
I remember the demo about 2 years ago.
I think they were sprites or quads aligned to plane

You could also use the LightMesh command but I just
tried the example and it seems to be broken.