Pratham Sehgal
Pratham Sehgal

Reputation: 153

Stereoscopic image in Game mode looks distorted in Unity3d

**GameImage**

This is image that I'm getting in Game mode. I'm using the latest GoogleVR for Unity available as of today and Unity 5.6.0b7. How to correct this?

Upvotes: 1

Views: 561

Answers (2)

Andrew Hawkins
Andrew Hawkins

Reputation: 21

Check out Github issue #451 gvr-unity-sdk on this subject.

Here's the code changes required -

*** Please use the github diff if you know how OR Use my code below - WARNING my code with replace yours so if you haven't made any mods it should be safe. I'm using GVR 1.20

I've uploaded the files with the code changes here to help.

They both go in Assets\GoogleVR\Scripts\Legacy\Internal\

http://drewfx.com/public/stackoverflow/

Gvreye.cs StereoRenderEffect.cs

Let me know if you get stuck

Upvotes: 2

Stanley S
Stanley S

Reputation: 1052

You should know that v5.6.0 is a beta version and it is not very suitable for development.

As suggested in the Unity Forum - For VR development it's better to stick to using Unity 5.4.2 with Google VR SDK 10.3.

Upvotes: 0

Related Questions