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

WebGLRenderer: Improve support of integer formats. #29392

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Sep 12, 2024

Fixed #28829.

Description

Improves the support for integer texture formats in WebGLRenderer. The WebGL backend of WebGPURenderer already has these checks.

@Mugen87 Mugen87 added this to the r169 milestone Sep 12, 2024
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 685.42
169.7
685.83
169.75
+405 B
+54 B
WebGPU 828.45
222.25
828.45
222.25
+0 B
+0 B
WebGPU Nodes 828.03
222.16
828.03
222.16
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 462.02
111.48
462.42
111.53
+405 B
+52 B
WebGPU 526.43
141.9
526.43
141.9
+0 B
+0 B
WebGPU Nodes 483.08
131.72
483.08
131.72
+0 B
+0 B

@Mugen87 Mugen87 merged commit 6bf1246 into mrdoob:dev Sep 12, 2024
12 checks passed
LD2Studio pushed a commit to LD2Studio/LD2Studio-Editor that referenced this pull request Sep 13, 2024
LD2Studio pushed a commit to LD2Studio/LD2Studio-Editor that referenced this pull request Sep 13, 2024
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.

WebGLRenderer: Improve RGBA_INTEGER support.
1 participant