oculus-samples / Unity-DepthAPI

Examples of using Depth API for real-time, dynamic occlusions
Other
192 stars 24 forks source link

In PC Mode, single pass Instanced, use HighlightsAndShadows.shader only one eye render #31

Closed nixiaofei closed 6 months ago

nixiaofei commented 6 months ago

i want Add HighlightsAndShadows.shader to the scene. In single pass in PC mode, only the left eye can be rendered, but the right eye cannot be rendered.

I followed the URL below to make modifications without success. https://docs.unity3d.com/Manual/SinglePassInstancing.html https://www.youtube.com/watch?v=JiCJN8EvoCA

I think the effect of using depth occlusion and AR shadow is very realistic. Please work together to solve this problem. Thanks.

unity 2022.3.17; depth api V60; xr.management 4.41; meta.xr.sdk.core V62; meta.xr.mrutilitykit V60