Camera rounded corners

I have a mocap that requires to have a small camera on top of the phone, but with rounded corners. I know it’s not possible from an engine perspective, but is there any alternative way or trick to achieve this

Assuming the camera is on a UI element, you can use a mask element to create the rounded corners.

1 Like

What do you mean by “is on UI element”.

My plan was to use the viewport property in the Camera component, set the camera on top.
Next set all UI on 2D canvas.

So in this on mind, how could I do this " you can use a mask element to create the rounded corners."?

Depending on the app design, I would be more tempted to have the camera render to a render texture and then set that texture to an UI element.

That way, I can lay everything out with the UI element system including the use of a rounded mask.