entityvisible???!?

Blitz3D Forums/Blitz3D Programming/entityvisible???!?

Mmm, there are quite a few techniques for speeding it up:

entitypicking certain geometry with sphere or box rather than polygon.

Checking for the light distance and only doing a pick if it's within a certain distance

only do a pick once every 10 cycles. The less accurate you get the faster it will work.

Like jfk said, only make certain lights pick-worthy. That is, special lights like the sun will be occluded by the level, whilst streetlights will always be on and just have an EntityOrder of 0 (normal)

It's a lot of testing, and not really worth the struggle in the end. try a combination of these and you might be able to run the lights with full effects all the time.

Share the results with us.