Skip to content

Viewer: Enable test for IBL shadows#17986

Draft
ryantrem wants to merge 6 commits intoBabylonJS:masterfrom
ryantrem:viewer/ibl-shadow-test
Draft

Viewer: Enable test for IBL shadows#17986
ryantrem wants to merge 6 commits intoBabylonJS:masterfrom
ryantrem:viewer/ibl-shadow-test

Conversation

@ryantrem
Copy link
Member

@ryantrem ryantrem commented Feb 27, 2026

Now that the last of the known issues with IBL shadows + WebGPU is fixed, enabling the IBL shadows test for the Viewer. This is not a visual test that actually compares screenshots at this point, it only looks for WebGPU errors in the console, which so far have always been present in the issues that have cropped up.

UPDATE: This revealed a couple additional IBL shadow related bugs due to different gpu limits on the build agents. Fixes for these issues are included in this PR. @MiiBond

Copilot AI review requested due to automatic review settings February 27, 2026 16:59
@ryantrem ryantrem requested a review from Popov72 February 27, 2026 17:00
@ryantrem ryantrem enabled auto-merge (squash) February 27, 2026 17:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enables a previously commented-out test for the IBL (Image-Based Lighting) shadows feature in the Viewer. The test was disabled due to WebGPU-related bugs that have now been resolved in PR #17976. The test verifies that the shadow-quality="high" attribute works without producing WebGPU console errors or page errors.

Changes:

  • Uncommented and enabled the shadow-quality="high" test case that validates IBL shadows functionality

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

Snapshot stored with reference name:
refs/pull/17986/merge

Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17986/merge/index.html

To test a playground add it to the URL, for example:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17986/merge/index.html#WGZLGJ#4600

Links to test your changes to core in the published versions of the Babylon tools (does not contain changes you made to the tools themselves):

https://playground.babylonjs.com/?snapshot=refs/pull/17986/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/17986/merge
https://gui.babylonjs.com/?snapshot=refs/pull/17986/merge
https://nme.babylonjs.com/?snapshot=refs/pull/17986/merge

To test the snapshot in the playground with a playground ID add it after the snapshot query string:

https://playground.babylonjs.com/?snapshot=refs/pull/17986/merge#BCU1XR#0

If you made changes to the sandbox or playground in this PR, additional comments will be generated soon containing links to the dev versions of those tools.

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@ryantrem ryantrem marked this pull request as draft February 27, 2026 18:14
auto-merge was automatically disabled February 27, 2026 18:14

Pull request was converted to draft

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 27, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants