-
Notifications
You must be signed in to change notification settings - Fork 41
Description
I tried downloading the sample scene for interacting with the meta scene api, in particular the occlusion functionality, but I get a compiler error for the shader that comes with the scene. The shader appears to be repeated here: https://godotvr.github.io/godot_openxr_vendors/manual/meta/environment_depth.html, but the issue is that META_ENVIRONMENT_DEPTH_TEXEL_SIZE doesn't exist in the project settings in either the sample project, or a new project started with Godot 4.5.
I did find a different version of the shader here: #347, and while this one compiles it doesn't fix any issues with the depth map being offset from it's actual position, which I think the shader method is supposed to help with.
What's the best way to set up this shader correctly? The doc's set up instructions are a bit out of date here I believe. If I was able to get this working, I'd be happy to try and contribute to them to help other people new to the occlusion api. I'm on Godot 4.5 and I am using openxr_vendors version 4.1.1. Please let me know if you need any other info