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

GLSLNodeBuilder: Fix color space regression. #29945

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Nov 22, 2024

Related issue: #29925

Description

When investigating #29925, I've noticed the color space of video textures is broken with the WebGLBackend. Turns out #29259 introduces a minor regression by not renaming needsColorSpaceToLinearSRGB() to needsToWorkingColorSpace() in GLSLNodeBuilder.

@Mugen87 Mugen87 added this to the r171 milestone Nov 22, 2024
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.13
79
339.13
79
+0 B
+0 B
WebGPU 482.5
133.73
482.5
133.72
-3 B
-1 B
WebGPU Nodes 481.97
133.63
481.96
133.62
-3 B
-2 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 464.59
111.96
464.59
111.96
+0 B
+0 B
WebGPU 550.56
149.2
550.56
149.19
-3 B
-2 B
WebGPU Nodes 506.44
138.91
506.44
138.91
-3 B
-1 B

@Mugen87 Mugen87 merged commit ca5af63 into mrdoob:dev Nov 22, 2024
12 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.

1 participant