How do we use multiple renderTargets on a single camera?


I have multiple renderTargets that where rendering to Layers before. How do I convert it to use the new API on the camera.renderTarget?
Do I create multiple cameras now? What about my layers that I have entities set to render only in said layers?

Thank you in advance.

Ηι @pixelpros,

Yes, you will need to create additional cameras. You can control which layers each camera is rendering with by using the layers property in the camera component.