When Single Pass Stereo Rendering is enabled, Camera.pixelWidth is 1201, while the width of viewport of both eyes is 1280 for Oculus DK2, (pixelWidth is 1512, viewport width is 1536 for HTC Vive). I expected Camera.pixelWidth is equal to the width of viewport. Is this a bug, or how do I get the real width of viewport?
↧