Search Unity

PINK Oculus hands / controllers / avatar in Unity Lightweight pipeline

Discussion in 'AR/VR (XR) Discussion' started by morfevs, Dec 18, 2018.

  1. morfevs

    morfevs

    Joined:
    Dec 21, 2016
    Posts:
    19
    Hello!

    When using Unity 2018 with the VR Lightweight pipeline, the Oculus hands / avatar / controllers appear PINK.
    This is because the shader is NOT the lightweight shader.

    The problem is that there is no material attached to them so I cannot change the shader type to Lightweight so they will display correctly.

    Apparently the Oculus hands appear in Run time only.

    Please help.

    Does some knows how to get the standard colors of the Oculus hands / controllers / avatar using the VR Lightweight pipeline?

    Thanks in advance for your help.
     
  2. morfevs

    morfevs

    Joined:
    Dec 21, 2016
    Posts:
    19
    bump!
     
  3. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    Oculus does not support beta/preview content which both LWRP and HDRP are. This means you need to manually add the support yourself. IIRC the used shaders are defined somewhere in the avatar scripts and you might be able to remap them. This however does not mean they will look good or fully correct.
     
  4. morfevs

    morfevs

    Joined:
    Dec 21, 2016
    Posts:
    19
    thanks a lot for your reply.
    I wonder if someone has done it before? perhaps they can share their shader and we can have at least colours in the virtual hands and controllers?