Google Cardboard SDK and Antialiasing

Hi,
i have the problem when i activate the Anti Aliasing Level in the quality settings to 2x Multi Sampling the side by side image output is only working on the right side. the left imgage is freezed. I have read in forum that i have to disable the Distortion Correction on the cardboard to use Antialiasing. I have done that in the CardboardMain/Settings (remove checked state from Distortion Correction checkbox). But the result is always the same.

I’m using the latest Unity 5 with the latest Cardboard SDK and a iPhone 6 Plus.

Does anybody know what i have to do to use Antialiasing with the Cradboard? Without the image output is horible.

Thx forward

You actually need to set AA not in the main Unity settings, but on the RenderTexture that the SDK creates for holding the pre-distorted render. The function CreateStereoScreen() in the script BaseVRDevice.cs (in Assets/Cardboard/Scripts/VRDevices/) does is where to do this. Change it like so:

var rt = new RenderTexture(Screen.width, Screen.height, 16, RenderTextureFormat.RGB565);
rt.antiAliasing = 2; // ← add this
return rt;

1 Like