Skip to content

Conversation

@gkjohnson
Copy link
Collaborator

@gkjohnson gkjohnson commented Apr 15, 2025

Fixed #30928

Description

Removes all references to Luminance and LuminanceAlpha format which have apparently not worked for over 3 years 😅

@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 336.49
78.38
336.33
78.33
-162 B
-47 B
WebGPU 544.68
150.82
544.52
150.73
-162 B
-85 B
WebGPU Nodes 544.03
150.66
543.87
150.58
-162 B
-84 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465.58
112.26
465.48
112.23
-101 B
-30 B
WebGPU 618.38
167.07
618.31
167.05
-68 B
-21 B
WebGPU Nodes 573.25
156.44
573.18
156.42
-68 B
-22 B

@Mugen87 Mugen87 merged commit f6f0183 into mrdoob:dev Apr 15, 2025
12 checks passed
@gkjohnson gkjohnson deleted the remove-luminance branch April 29, 2025 16:31
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
* Remove luminance from docs.

* Remove Luminance constants

* Update editor lines to remove Luminance references
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
* Remove luminance from docs.

* Remove Luminance constants

* Update editor lines to remove Luminance references
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: LuminanceFormat does not seem to work

2 participants