GodotVR / godot_openxr_vendors

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

Add support for XR_FB_composition_layer_secure_content #117

Closed dsnopek closed 2 months ago

dsnopek commented 3 months ago

This depends on PR https://github.com/godotengine/godot/pull/90237

It adds a new "External Output" property to OpenXRCompositionLayer nodes, which can be used to set the flags used by XR_FB_composition_layer_secure_content to configure the given composition layer:

Selection_138

I've tested this on the Meta Quest 3 and it works!

When casting to the web, setting the composition layer to "Replace" will display it blacked out in the cast, and setting to "Exclude" will remove it from the cast entirely. As expected, the setting has no effect in the headset.

Marking as draft until the Godot PR is merged.

dsnopek commented 3 months ago

The Godot PR was merged, so taking this out of draft

m4gr3d commented 2 months ago

@dsnopek Can you rebase this PR for merging.

dsnopek commented 2 months ago

Rebased!