- Home /
orthographic camera
I'm currently trying to figure out how to render my scene so that everything is consistent from device to device. On ALLLLL devices EXCEPT the iPad, everything is perfect. So I've looked into to orthographic camera to see if that could fix it. However, the only solutions I've found are
void Start()
{
Camera.main.projectionMatrix = Matrix4x4.Ortho(
-orthographicSize * aspect, orthographicSize * aspect,
-orthographicSize, orthographicSize,
camera.nearClipPlane, camera.farClipPlane);
}
the last line of it is now obsolete and as unity says "deprecated" I can't seem to find the appropriate update.
*NOTE my UI elements scale perfectly for any device, it's the intractable objects themselves that are not properly scaling with iPads. so I'm open to other recommendations besides this.
Your answer
Follow this Question
Related Questions
Aquarium like camera 1 Answer
AutoScale Orthographic Camera 1 Answer
newbe scaling maze sceen for different resolutions 0 Answers
AR scale/positioning using the camera 0 Answers
Make camera crop scene instead of scale/stretch it 0 Answers