Skip to content

Re-enable blur-cube-with-the-effect-renderer validation test#1763

Merged
bkaradzic-microsoft merged 2 commits into
BabylonJS:masterfrom
bkaradzic-microsoft:fix/reenable-blur-cube-effect-renderer
Jul 7, 2026
Merged

Re-enable blur-cube-with-the-effect-renderer validation test#1763
bkaradzic-microsoft merged 2 commits into
BabylonJS:masterfrom
bkaradzic-microsoft:fix/reenable-blur-cube-effect-renderer

Conversation

@bkaradzic-microsoft

@bkaradzic-microsoft bkaradzic-microsoft commented Jun 17, 2026

Copy link
Copy Markdown
Member

What

Re-enables the blur-cube-with-the-effect-renderer Playground validation test (#4C900K#2) by
dropping its excludeFromAutomaticTesting entry in config.json, and bumps the bundled babylonjs
to 9.15.0 (which contains the paired engine fix) so the test actually passes in CI.

Two commits:

  1. Re-enable blur-cube-with-the-effect-renderer in Apps/Playground/Scripts/config.json.
  2. Bump babylonjs to 9.15.0 in Apps/package.json + Apps/package-lock.json.

Broken out of #1748 so it can merge independently:
#1748 re-enables this same test alongside six single-file-.dds cube tests, but those six are still
gated on an unmerged cube-loading TS change (BabylonJS/Babylon.js#18567), whereas this test only
needs the already-merged depth-test fix. (#1748 currently still carries a duplicate blur-cube
re-enable; that entry should be dropped there once this lands.)

Why it passes now

The test previously failed pixel comparison because the native engine ignored
depthCullingState.depthTest, so an EffectRenderer fullscreen pass produced an all-black frame.
That is fixed by BabylonJS/Babylon.js#18558 ("[Native] Honor
depthCullingState.depthTest on the native engine"), merged 2026-06-16 and shipped in babylonjs
9.15.0
— the version this PR now pins. With that fix present in the bundled engine the pass renders
correctly and the test matches its reference image.

Status

  • Pin bump included; the earlier gate is resolved. The bump to 9.15.0 (which contains #18558) is
    part of this PR, so the re-enable no longer depends on a separate future babylonjs bump.
  • CI is fully green, including every Win32 D3D11 and Ubuntu desktop job that runs the validation
    suite — blur-cube-with-the-effect-renderer validates. Ready to merge (pending review).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Re-enables the blur-cube-with-the-effect-renderer Playground validation test by removing its excludeFromAutomaticTesting entry, allowing it to run in the automated native validation suite.

Changes:

  • Removed excludeFromAutomaticTesting and associated reason for blur-cube-with-the-effect-renderer in the Playground validation catalog.

Comment thread Apps/Playground/Scripts/config.json
@bkaradzic-microsoft
bkaradzic-microsoft force-pushed the fix/reenable-blur-cube-effect-renderer branch from 1da8f15 to 067e50b Compare June 18, 2026 15:22
bkaradzic and others added 2 commits July 6, 2026 08:14
This EffectRenderer fullscreen-pass test rendered all-black on Native because the
native engine did not honor depth-test toggles made through
engine.depthCullingState.depthTest (used by EffectRenderer). Fixed upstream in the
native engine (BabylonJS/Babylon.js#18558); re-enable the test here.

Depends on a babylonjs dependency bump that includes the fix.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The re-enabled validation tests depend on native-engine fixes that landed in
babylonjs 9.14.0+ (depthCullingState.depthTest, cube render targets,
updateTextureData / engine.name). The Apps lockfile was pinned to 9.9.1, so
'npm ci' installed an engine without those fixes and the tests crashed on the
old WebGL-only paths. Bump to 9.15.0 (protocol-compatible: PROTOCOL_VERSION 9).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bkaradzic-microsoft
bkaradzic-microsoft force-pushed the fix/reenable-blur-cube-effect-renderer branch from 067e50b to 2cfc3cd Compare July 6, 2026 15:14

@bghgary bghgary left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Reviewed by Copilot on behalf of @bghgary]

LGTM

@bkaradzic-microsoft
bkaradzic-microsoft merged commit 2b280e6 into BabylonJS:master Jul 7, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants