Dual camera (zoom)

Is it possible to do dual camera in PlayCanvas, like in Unity with render texture

So in detail, I have to make roulette betting in Playcanvas.
Since the betting area is small, I would like to have another camera in the left corner, close to the betting area, to act like zoom or something

https://developer.playcanvas.com/en/tutorials/multiple-viewport-rendering/

Maybe this will help

Surprised that we don’t have a simpler example of render to a texture. Here’s one that is a little more advanced https://developer.playcanvas.com/en/tutorials/resolution-scaling/

we have this simple rendering to texture example @yaustar
http://playcanvas.github.io/#graphics/render-to-texture.html

3 Likes

@yaustar @Gamer_Wael

it is possible to have another canvas for my zoom camera, right now they share the same 2D canvas

What do you mean by canvas? The cameras will render the layers that you assign to them.