Skip to content

fix(@typegpu/three): Let Three.js infer type of new THREE.Color() passed into t3.uniform()#2035

Merged
iwoplaza merged 1 commit intomainfrom
fix/typegpu-three-color-obj-handling
Jan 11, 2026
Merged

fix(@typegpu/three): Let Three.js infer type of new THREE.Color() passed into t3.uniform()#2035
iwoplaza merged 1 commit intomainfrom
fix/typegpu-three-color-obj-handling

Conversation

@iwoplaza
Copy link
Collaborator

@iwoplaza iwoplaza commented Jan 11, 2026

This makes t3.uniform(new THREE.Color('white'), d.vec3f) work.

@github-actions
Copy link

pkg.pr.new

packages
Ready to be installed by your favorite package manager ⬇️

https://pkg.pr.new/software-mansion/TypeGPU/typegpu@186e67bba217f0a2c73cc5c8c7dd03f2c1d29277
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/noise@186e67bba217f0a2c73cc5c8c7dd03f2c1d29277
https://pkg.pr.new/software-mansion/TypeGPU/unplugin-typegpu@186e67bba217f0a2c73cc5c8c7dd03f2c1d29277

benchmark
view benchmark

commit
view commit

@iwoplaza iwoplaza merged commit 77f10c5 into main Jan 11, 2026
3 checks passed
@iwoplaza iwoplaza deleted the fix/typegpu-three-color-obj-handling branch January 11, 2026 21:44
iwoplaza added a commit that referenced this pull request Feb 16, 2026
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