Camera viewport bottom positioning

I am trying to position a corner camera on the bottom part of the screen as seen in this playground.
The viewport seem to partly ignore the y parameter (2nd) in this line:

cameraZoom.viewport = new BABYLON.Viewport(0.75, 0.75, 0.25, 0.25);

the x, y, are the lower lefthand corner of the viewport and their values are between 0 and 1.

if you want to position the viewport in the bottom left corner then x and y should be 0,

setting the x to 0.75 and y to 0 will position the viewport in the bottom right corner


Embarrassing :slight_smile:
I don’t know how I missed it when I played around with the values.
I was probably tired last night…
Thank you, works.