From ee548556e236fff795e67bf7ef9170fc533e368f Mon Sep 17 00:00:00 2001 From: Cedric Guillemet <1312968+CedricGuillemet@users.noreply.github.com> Date: Fri, 16 Oct 2026 13:38:41 +0200 Subject: [PATCH 1/2] Fix Native shadow depth wrappers fixture capability check Use the public CSM support check instead of WebGL version so the Native validation fixture selects standard shadows when cascaded shadows are unavailable.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>\nCopilot-Session: 54a3a23d-f251-49e7-a66c-3ad9e51b28e1 --- Apps/Playground/Scripts/config.json | 1 + 1 file changed, 1 insertion(+) diff --git a/Apps/Playground/Scripts/config.json b/Apps/Playground/Scripts/config.json index ce10ad3a6..0d0f50da4 100644 --- a/Apps/Playground/Scripts/config.json +++ b/Apps/Playground/Scripts/config.json @@ -1188,6 +1188,7 @@ { "title": "Shadow depth wrappers", "playgroundId": "#PNQRY1#73", + "replace": "engine.webGLVersion >= 2, BABYLON.CascadedShadowGenerator.IsSupported", "renderCount": 20, "referenceImage": "shadowDepthWrappers.png" }, From 29485733c562c6e849e8234782b3442aa268c222 Mon Sep 17 00:00:00 2001 From: Branimir Karadzic Date: Mon, 19 Oct 2026 17:05:45 -0700 Subject: [PATCH 2/2] Note that the Shadow depth wrappers replacement is temporary Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 60c2ec68-6de1-445d-9fc9-b699db737eae --- Apps/Playground/Scripts/config.json | 1 + 1 file changed, 1 insertion(+) diff --git a/Apps/Playground/Scripts/config.json b/Apps/Playground/Scripts/config.json index 0d0f50da4..fcc06a6a8 100644 --- a/Apps/Playground/Scripts/config.json +++ b/Apps/Playground/Scripts/config.json @@ -1189,6 +1189,7 @@ "title": "Shadow depth wrappers", "playgroundId": "#PNQRY1#73", "replace": "engine.webGLVersion >= 2, BABYLON.CascadedShadowGenerator.IsSupported", + "note": "Temporary mitigation: the source Playground (#PNQRY1#73) selects CascadedShadowGenerator by WebGL version instead of capability. Once the Playground is fixed to check BABYLON.CascadedShadowGenerator.IsSupported, update playgroundId to the corrected revision and remove this replacement.", "renderCount": 20, "referenceImage": "shadowDepthWrappers.png" },