Skip to content

Conversation

@CedricGuillemet
Copy link
Contributor

@CedricGuillemet CedricGuillemet commented Nov 26, 2025

No description provided.

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 adds native support for Gaussian Splatting (GS) rendering by introducing a sorting function for splats, shader attribute mappings for splat data, and texture format support for RG16F.

Changes:

  • Added _SortGS function to sort Gaussian splats by depth for proper rendering order
  • Added shader attribute mappings for splatIndex0-3 vertex attributes
  • Added RG16F texture format support for splat data textures

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 7 comments.

File Description
Plugins/NativeOptimizations/Source/NativeOptimizations.cpp Adds _SortGS function and sortSplatQSort comparator to sort splats by depth based on view matrix
Plugins/NativeEngine/Source/ShaderCompilerTraversers.cpp Adds attribute mappings for splatIndex0-3 to support splat vertex data
Plugins/NativeEngine/Source/NativeEngine.cpp Adds RG16F texture format support and applies sampler flip processing to vertex shader coordinates

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

Copy link
Contributor

@SergioRZMasson SergioRZMasson left a comment

Choose a reason for hiding this comment

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

LGTM

@CedricGuillemet CedricGuillemet merged commit 93e3524 into BabylonJS:master Jan 14, 2026
25 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.

2 participants