cancel
Showing results for 
Search instead for 
Did you mean: 

OVR OVERLAY (UNDERLAY) problem

RoxGame
Protege

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?

4 REPLIES 4

JoshuaVe
Explorer

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

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

JoshuaVe
Explorer

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?

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