In the 2D area, Lens Studio offers great orthographic camera options to adapt objects to the screen sizes of different devices.
This is more difficult in the 3D area with the perspective camera
The goal is to align a 3D object so that it fills the entire screen on any device.
While trying to solve the problem, I found out that the width/height property of the camera texture differs from the actual data of the devices:
Here is a comparison of the data determined with the script with the original data of the devices:
Due to the deviation from the actual data of the devices, I am not able to align the 3D objects in such a way that they always fill the screen.
Since I use 3D objects as buttons in my lens, it can happen that the buttons fall into an unsuitable range on some devices. Again, I haven't found a way to optimize my lens.
While browsing the templates to find a solution, I found an original Snap lens that has the same problem:
It would be great if someone could help me.