7

I'm developing an AR experience with a terrain (not smart terrain, just terrain in Unity) in Augmented Reality app, everything works perfect!

But when I'm trying to use the see-through mode of Google VR, I see the clipping planes, that are making the terrain entirely black (you can see this on screenshots).

What could be the problem?

first

second

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
proggamer12
  • 192
  • 10
  • Could you try to resize terrain (enlarge the scale of terrain game object)? When you make smaller the 3D game objects in Unity, textures can not be rendered successfully. – Ozlu Sep 16 '17 at 06:56
  • Thank you for attention to this question! The problem is not in textures, but in clipping planes. I can see in the editor how they are clipping the terrain. If I turn the clipping planes off, then I will see the terrain. But if I turn the clipping planes off, then the models will go outside the video, which looks not good – proggamer12 Sep 16 '17 at 11:26
  • Can you share a screenshot of one of the cameras for the eyes in the editor? – Hristo Dec 11 '17 at 07:17
  • Can you send an example of project where it does not works? – Ludovic Feltz Dec 14 '17 at 09:41
  • Can't you use smart terrain instead? – Saad Anees Jul 07 '18 at 09:08

1 Answers1

1

If you see this issue (black clipping planes) when using the see-through mode of Google VR, try setting Far and Near Clipping Plane's parameters in Unity.

enter image description here

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220