Render different Layers

Hey there,

I want to improve the performance of my app and only render objects that I have to update (e.g. objects that are moving or video textures). To make this happen I want to seperate my scene into different groups of objects and render each group into its own layer. In the end I want to stack these layers ontop of eachother to create the final image. Is there a feature in babylonjs to make this happen?

Thank you for your help.

Hello! We have the concept of a layer in Babylon: Rendering Utility Layers | Babylon.js Documentation (, and you could also achieve the same effect by rendering the objects in two separate scenes: Two Scenes Babylon | Babylon.js Playground ( (in this case you have to be careful to set the second scene’s autoClear to false so that it doesn’t erase over the first scene)