Skip to main content
Up and Coming
November 17, 2022

OVR OVERLAY (UNDERLAY) problem

am trying to implement ovroverlay underlay but nothing work for me 

what i did is the following

1- add quad with ovroverlay and set  type to underlay

2 - add quad with same size and same position with shader oculus/underlay imposter

when i build i get only black quad 

am i missing something?

    This topic has been closed for replies.

    4 replies

    Inspiring
    August 16, 2023

    Same problem, I'm on URP, do I need to redo the shader in URP pipeline?

    RoxGameAuthor
    Up and Coming
    August 16, 2023

    Yes you have to write your own version of underlay shader for urp 

    I tried but i didn't succeed I don't have good knowledge of shaders

    So i switched back to built-in it work good for my use case

    Inspiring
    August 17, 2023

    For your step 1.  When you say you added a Quad to your Overlay, do you have two game objects, each with a Quad Mesh, or are you referring to the Quad type inside the Overlay component?

    RoxGameAuthor
    Up and Coming
    August 20, 2023

    First one should have only script of overlay (with type underlay) 

    Attach quad child to it and make sure you add  you add impostor shader to it

    Make sure the quad is in backside of the parent few units like 0.01 back