r/oculusdev • • Feb 28 '17

PSA: Single-Pass rendering in Unity is not compatible with camera root scales other than 1.

This might save you a headache if you use non-realistic scales in your game.

So my root gameObject for my player has a scale of 30,30,30, but for the last month I've been working on my project, that's been fine. It just makes the world feel smaller, but the eye angles were correct, the movement speed was correct, etc. Now after I enabled Single-Pass-stereo rendering, my movements are WAY too exaggerated and I have to cross my eyes to see anything! the OVR hands are also flickering strangely.

Turned it back off and everything was fine.

My options are to scale the world down or stick with 2 pass rendering. Because the scale I'm trying to work at compared to me has unreliable physics (Quite small) I'm going to stick with 2 pass.

9 Upvotes

8 comments sorted by

1

u/irascible Feb 28 '17

Unfamiliar with the specifics but sounds like IPD is affected by scaling? Maybe you can adjust it to compensate?

1

u/danokablamo Mar 01 '17

What's IPD stand for? I'm sure i know it I'm just drawing a blank at the moment.

1

u/irascible Mar 01 '17

Interpupillary distance.. the distance between the 2 virtual cameras in the renderer.. although having written that, I think it's the wrong term since it's usually applied to the headset.. but ya.. I would deffo file a bug on Unity, if only to get clarification.

1

u/danokablamo Mar 01 '17

Oh yeah, that plus the speed of the avatar's movement in the scene was way off.

1

u/[deleted] Mar 07 '17 edited May 04 '17

deleted 0.5995 What is ^^^this?

1

u/danokablamo Mar 07 '17

So if the parent object is scaled up, you have to scale the camera down to compensate?

1

u/[deleted] Mar 07 '17 edited May 04 '17

deleted 0.9320 What is ^^^this?

1

u/SvenViking Feb 28 '17

You should probably submit a bug report to Unity for this.