Skip to content

Conversation

RenaudRohlinger
Copy link
Collaborator

Description

Adds color support to BatchedMesh in the WebGPURenderer and includes some code cleanup.

This contribution is funded by Utsubo

@RenaudRohlinger RenaudRohlinger added this to the r168 milestone Aug 22, 2024
@RenaudRohlinger RenaudRohlinger added the TSL Three.js Shading Language label Aug 22, 2024
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
685.4 kB (169.7 kB) 685.4 kB (169.7 kB) +0 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
462 kB (111.4 kB) 462 kB (111.4 kB) +0 B

@@ -141,7 +141,6 @@ const exceptionList = [
'webgpu_portal',
'webgpu_custom_fog',
'webgpu_instancing_morph',
'webgpu_mesh_batch',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nice, puppeteer is now happy with this example.

@RenaudRohlinger RenaudRohlinger merged commit c562b90 into mrdoob:dev Aug 22, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TSL Three.js Shading Language
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants