MozillaReality / unity-webxr-export

INACTIVE - Assets for creating WebXR-enabled Unity3D projects.
https://mixedreality.mozilla.org/unity-webxr-export/Build/
Apache License 2.0
626 stars 127 forks source link

Environment Texture becomes distorted when the user turns head #446

Closed knightcube closed 3 years ago

knightcube commented 3 years ago

I have used this library to create a project where the user can view videos in an environment. The problem is that the video(or perhaps the environments) gets distorted when the user turns around. However it works fine when the elements of that environments are meshes rather than the environment texture that I am using currently in the project.

Here is a video that shows what is happening exactly👇 yTppGmR6VB-min

This does not happen in the Unity Editor though. There is absolutely no distortion.

knightcube commented 3 years ago

Looks like it was a problem with my MainCamera settings. For someone looking for solution, I made the following changes -

  1. Clipping plane Near value = 0.3 instead of 0.1
  2. Depth = -1 instead of 0