I am trying to stretch a sprite to fit the screen. The sprite is at local position (0, 0, 0.4) and parented under the main camera together with the left and right VR cameras.
Stretching sprite to fit screen
Code (CSharp):
- spriteRenderer = GetComponent<SpriteRenderer>();
- //Frustum size at distance transform.localPosition.z from the camera.
- float...