Skip to content

Bayer node: fix web worker usage#33279

Merged
Mugen87 merged 5 commits into
mrdoob:devfrom
pavel-mazhuga:bayer_node_web_worker
Mar 30, 2026
Merged

Bayer node: fix web worker usage#33279
Mugen87 merged 5 commits into
mrdoob:devfrom
pavel-mazhuga:bayer_node_web_worker

Conversation

@pavel-mazhuga

Copy link
Copy Markdown
Contributor

TextureLoader is not compatible with worker environment, so ImageBitmapLoader should be used instead. This PR solves the issue by checking the environment and picking the appropriate loader.

Comment thread examples/jsm/tsl/math/Bayer.js Outdated
@Mugen87 Mugen87 added this to the r184 milestone Mar 29, 2026
Comment thread examples/jsm/tsl/math/Bayer.js
@Mugen87 Mugen87 merged commit e13523a into mrdoob:dev Mar 30, 2026
9 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.

2 participants