Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented May 15, 2025

Description

Add mask and premultipliedAlpha options for hashBlur.

@sunag sunag changed the title TSL: Add hashBlur options { mask, premultipliedAlpha } TSL: Add hashBlur options {mask, premultipliedAlpha} May 15, 2025
@github-actions
Copy link

github-actions bot commented May 15, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 337.26
78.64
337.26
78.64
+0 B
+0 B
WebGPU 549.9
152.44
549.9
152.44
+0 B
+0 B
WebGPU Nodes 549.25
152.29
549.25
152.29
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 467.34
112.95
467.34
112.95
+0 B
+0 B
WebGPU 624.5
169.06
624.5
169.06
+0 B
+0 B
WebGPU Nodes 579.35
158.35
579.35
158.35
+0 B
+0 B

@sunag sunag marked this pull request as ready for review May 15, 2025 06:35
@sunag sunag changed the title TSL: Add hashBlur options {mask, premultipliedAlpha} TSL: Add hashBlur() options {mask, premultipliedAlpha} May 15, 2025
@sunag sunag changed the title TSL: Add hashBlur() options {mask, premultipliedAlpha} TSL: Add hashBlur() options {repeats,mask,premultipliedAlpha} May 15, 2025
@sunag sunag merged commit 72a887f into mrdoob:dev May 15, 2025
11 checks passed
@sunag sunag deleted the dev-hashBlur branch May 15, 2025 06:51
@sunag sunag added this to the r177 milestone May 15, 2025
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
…doob#31115)

* fix clear texture and facing away if `bounce` is `false`

* add `premult`, `unpremult`

* cleanup

* add `hashBlur` options { mask, premultipliedAlpha }

* add docs and cleanup
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
…doob#31115)

* fix clear texture and facing away if `bounce` is `false`

* add `premult`, `unpremult`

* cleanup

* add `hashBlur` options { mask, premultipliedAlpha }

* add docs and cleanup
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