Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
PG13park's avatar
PG13park
Member
2 years ago

I am having limitations with the Meta Depth API Shader for AR

If I want to use any shader affect on an object in AR I can't use the Depth Shader and then you see the objects through my arm. What is the best way to combine two custom shaders? I want to use another shader that creates an invisible material that still receives shadows. I will probably need to combine multiple shaders with the depth shader one in the long run. 

Here is the link to the depth shader: https://github.com/oculus-samples/Unity-DepthAPI/tree/main 

1 Reply

Replies have been turned off for this discussion
  • I found instructions to do it. It's the 8th part of getting started portion of this document. Can someone show me how I should implement these instructions into the ShadowDrawer shader. Also if I get a little shader knowledge is this really easy or is it still kind of confusing?