Skip to content

Upgrade THREE.JS to 174 - #2931

Draft
JannisX11 wants to merge 6 commits into
nextfrom
upgrade-three-174
Draft

JannisX11 wants to merge 6 commits into
nextfrom
upgrade-three-174

Conversation

@JannisX11

Copy link
Copy Markdown
Owner

This PR keeps track of an attempt to upgrade Three.js to the latest version.

Three.js versions have been hit-or-miss in terms of working correctly for Blockbench:

  • Versions ~130 and newer have performance issues due to rendering back-faces in a separate render call. This has been fixed in some newer version
  • Version 152 and newer use a new color management pipeline, which causes a lot of issues in Blockbench.

https://discourse.threejs.org/t/updates-to-color-management-in-three-js-r152/50791

This PR upgrades to 173, which fixes the performance issue, but contains the color management issues. It attemps to fix those issues, which works fine for shader materials and cubemaps, but anything using built-in three.js materials is still causing issues.

@netlify

netlify Bot commented Sep 9, 2025 •

Copy link
Copy Markdown

❌ Deploy Preview for blockbench-dev failed.

Name Link
🔨 Latest commit a47ddb9
🔍 Latest deploy log https://app.netlify.com/projects/blockbench-dev/deploys/6a8c273232b0b40008304a5b

@JannisX11
JannisX11 marked this pull request as draft September 9, 2025 23:28
@JannisX11

Copy link
Copy Markdown
Owner Author

Update:
Updated to three.js 185.1

Remaining issues:

  • Declaring THREE as a global type
  • Textures no longer update after being resized

This branch has not been deployed

No deployments
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