Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGLUniformsGroups: UBO Boolean support and fix cache on number #27285

Merged
merged 4 commits into from
Dec 1, 2023

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.

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
11 checks passed
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