GodotVR / godot_openxr_vendors

Godot 4 wrapper for OpenXR vendors loaders and extensions
MIT License
82 stars 17 forks source link

Implement hole punch functionality for `OpenXRFbPassthroughGeometry` node #139

Closed devloglogan closed 2 months ago

devloglogan commented 2 months ago

In a similar fashion to https://github.com/godotengine/godot/pull/91485, implements "hole punching" for fb passthrough geometry. This mode makes it so objects behind the passthrough geometry will not be seen, like the clip in this comment. The passthrough geometry in this repo's demo now has this enabled.

I believe this mode would be the more common use case for passthrough geometry, so I've set enable_hole_punch to true by default.