Search Unity

Lab Renderer turning materials white?

Discussion in 'AR/VR (XR) Discussion' started by smonz3, Jan 12, 2017.

  1. smonz3

    smonz3

    Joined:
    Jan 9, 2017
    Posts:
    18
    Hi all, I am pretty new to Unity and am trying to make a VR project using SteamVR and the Lab Renderer. I have some objects that use the standard unity shader so in theory they should convert fine. However for some reason they turn white when the lab renderer shader is applied. I don't know what I am doing wrong? Any ideas? I have attached a screenshot of how it should render with the shader and how it does render. As far as I am aware the lab renderer is set up correctly, I followed the instructions and applied the camera script to the eye..

    It seems to work when I pull them into one of the lab renderer example scenes so must be something wrong with my original scene.. I'm guessing the renderer is not set up correctly. Does the camera script go on the eye? or the head?
     

    Attached Files:

    • 1.JPG
      1.JPG
      File size:
      127.5 KB
      Views:
      705
    • 2.JPG
      2.JPG
      File size:
      156.6 KB
      Views:
      677
    Last edited: Jan 12, 2017