Visible true/false hangs a bit

I am trying to create a smooth movement but as soon as I set visible=true on some skinned meshes and lights, I get just the slightest hangup (100-300ms). Not a dealbreaker just wondering if there is a way around this where you can hide/show something from the renderer without any hangup?


This happens probably because of shader compilations.

Instead of turning lights on/off, do you mind setting their intensity to 0 (and then back to their original value)?

1 Like

Yes this helped! Thanks (: