Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question Custom Pass Volume w/ Outline Shader is not rendering correctly in VR

Discussion in '2019.3 Beta' started by Harribel, Nov 28, 2019.

  1. Harribel

    Harribel

    Joined:
    Sep 12, 2017
    Posts:
    13
    Hello!

    I was looking through the Custom Pass Volume and example Outline shader provided in the HDRP documentation found here: https://github.com/Unity-Technologi...high-definition/Documentation~/Custom-Pass.md

    and a slightly different variant also found here: https://docs.unity3d.com/Packages/c...s.high-definition@7.1/manual/Custom-Pass.html

    I have tried both solutions, but is seems that either the Shader code is not set up correctly to account for use in VR applications OR the Custom Pass script is not ready for use in VR Applications.

    As I am not sure how to read or modify shader code, I don't really know how I am supposed to make this work, as there is no way afaik to make an Outline effect via Shader Graph that is a viable work-around.

    I would be really grateful for any help in making this work in VR as this is crucial for my project.

    I am currently using Unity 2019.3.0f1 and HDRP 7.1.6

    *EDIT* When using Multi-Pass everything works as intended. The problem seems to occur only in Single Pass Instanced
     
    Last edited: Nov 28, 2019
    chichichap likes this.