Skip to main content
PG13park
Participant
November 20, 2023

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 

This topic has been closed for replies.

1 reply

PG13park
PG13parkAuthor
Participant
November 21, 2023

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?