Skip to content

GS SH support#1614

Open
CedricGuillemet wants to merge 9 commits intoBabylonJS:masterfrom
CedricGuillemet:BNGSPLY
Open

GS SH support#1614
CedricGuillemet wants to merge 9 commits intoBabylonJS:masterfrom
CedricGuillemet:BNGSPLY

Conversation

@CedricGuillemet
Copy link
Contributor

@CedricGuillemet CedricGuillemet commented Feb 25, 2026

  • new GS test
  • update BJS to 8.53.0

@CedricGuillemet CedricGuillemet marked this pull request as ready for review February 26, 2026 11:03
Copilot AI review requested due to automatic review settings February 26, 2026 11:03
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

Updates Babylon.js dependencies and native/shader plumbing to support Gaussian Splatting (including SH data) in the Babylon Native Playground and associated shader/toolchain paths.

Changes:

  • Bumps Babylon.js packages to 8.53.0 and updates native dependencies (JsRuntimeHost + SPIRV-Cross source/tag).
  • Extends shader sampler Y-flip patching to cover texelFetch and expands supported texture formats (RGBA32U).
  • Adds TextDecoder polyfill wiring (linking, initialization, install) and introduces a new Playground image-based test case with a reference image.

Reviewed changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
Plugins/ShaderCompiler/Source/ShaderCompilerCommon.cpp Adds texelFetch Y-flip macro in the OpenGL sampler flip patching block.
Plugins/NativeEngine/Source/NativeEngine.cpp Allows RGBA32U images through PrepareImage format assertions.
Install/Install.cmake Installs the TextDecoder polyfill when the target exists.
CMakeLists.txt Updates FetchContent pins; switches SPIRV-Cross repository URL/tag.
Apps/package.json Updates Babylon.js package versions to ^8.53.0.
Apps/Playground/Shared/AppContext.cpp Includes and initializes the TextDecoder polyfill.
Apps/Playground/Scripts/config.json Adds a new Gaussian Splatting SH Playground test entry (with OpenGL exclusion note).
Apps/Playground/ReferenceImages/gsplat-compressedply-sh.png Adds the reference image for the new test.
Apps/Playground/CMakeLists.txt Links TextDecoder into the Playground app.
Apps/Playground/Android/BabylonNative/CMakeLists.txt Links TextDecoder into the Android JNI target.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants