Skip to content

Conversation

@RenaudRohlinger
Copy link
Collaborator

Improve WebGLUniformsGroups by adding support for UBO Booleans and addressing a caching issue with numbers. This update ensures more robust and accurate handling of different data types in Uniform Buffer Objects.

@github-actions
Copy link

github-actions bot commented Nov 30, 2023

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
668.8 kB (166 kB) 668.9 kB (166.1 kB) +165 B

🌳 Bundle size after tree-shaking

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

Filesize dev Filesize PR Diff
449.8 kB (109 kB) 450 kB (109 kB) +165 B

@Mugen87 Mugen87 added this to the r160 milestone Nov 30, 2023
@Mugen87 Mugen87 merged commit b019c39 into mrdoob:dev Dec 1, 2023
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
…oob#27285)

* add boolean support and fix number cache

* fix const assignment

* good fix assignment to local var

* Update WebGLUniformsGroups.js

Improve comment.

---------

Co-authored-by: Michael Herzog <[email protected]>
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