Light Instancing/Cloning and Performance


I have multiple lights on the scene. There are cases where I have lights with the same settings but on different locations. Is it possible to create Instance of that light and change position? If not , I used cloning before with lights. But performance-wise is it the same to create 2 lights, or create one light and clone it to create another.

Thank you

1 Like

Hey, sorry but instanced lights do not exist so cloning is likely your best bet but like you said perf wise this is not optimal.Differed lighting is a way to handle many more lights in a scene without a large perf impact but babylon has no built in support for this. Another option, if lights dont move and are ok to be static is to bake your lighting into the textures in the scene. Hope this helps.

1 Like