Ask for XR_FB_composition_layer_depth_test and XR_KHR_composition_layer_depth

Enable depth testing between GUI and lobby

Use reversed-Z, prefer floating point depth buffer
This commit is contained in:
Guillaume Meunier
2024-11-01 11:40:33 +01:00
parent 16a1a7f0bf
commit 6c10a9ee95
18 changed files with 310 additions and 174 deletions
+2
View File
@@ -756,6 +756,8 @@ void application::initialize()
opt_extensions.push_back(XR_HTC_PASSTHROUGH_EXTENSION_NAME);
opt_extensions.push_back(XR_FB_FACE_TRACKING2_EXTENSION_NAME);
opt_extensions.push_back(XR_EXT_PALM_POSE_EXTENSION_NAME);
opt_extensions.push_back(XR_KHR_COMPOSITION_LAYER_DEPTH_EXTENSION_NAME);
opt_extensions.push_back(XR_FB_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME);
for (const auto & i: interaction_profiles)
{