when the engine select Lights for object3d, (hence there is setDistanceOverride method) can you do this ? -
if (there is light list) test lights in list;
else test all lights in World;
if (this light has object list) { if (object is in list) light on; else light off }
No, not really. Because these lights still have to be part of the World or otherwise, they won't be processed properly. But if they are part of the World, they will have an influence on all other objects as well. They would limit the lights for one object but not for all the others, which is actually what you want. You could of course use this to add a light list to ALL objects managing them all by yourself, but wouldn't that be a bit tedious?
my plan is this: obj1 without light list, engine process all lights[light 1 2 3 4 5 ... ]; obj2 has list [light1 and 2], engine process light 1 and 2 when drawing obj2; obj3 has list [light 2 and 3], engine process light 2 and 3 when dtawing obj3.
if lights cannot be isolated, can the engine modify the strength of unwanted lights to zero when drawing corresponding object?