Skip to content

feat: Tweaks to feat/tgpu-three#1954

Merged
iwoplaza merged 16 commits intofeat/tgpu-threefrom
feat/tgpu-three-tweaks
Dec 10, 2025
Merged

feat: Tweaks to feat/tgpu-three#1954
iwoplaza merged 16 commits intofeat/tgpu-threefrom
feat/tgpu-three-tweaks

Conversation

@iwoplaza
Copy link
Collaborator

@iwoplaza iwoplaza commented Dec 4, 2025

No description provided.

@iwoplaza iwoplaza force-pushed the feat/tgpu-three-tweaks branch from b9a636b to d59e8ba Compare December 4, 2025 13:37
@github-actions
Copy link

github-actions bot commented Dec 4, 2025

pkg.pr.new

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

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

benchmark
view benchmark

commit
view commit

@github-actions
Copy link

github-actions bot commented Dec 4, 2025

pkg.pr.new

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

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

benchmark
view benchmark

commit
view commit

@iwoplaza iwoplaza marked this pull request as ready for review December 5, 2025 18:09
Copy link
Collaborator

@cieplypolar cieplypolar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iwoplaza iwoplaza merged commit 2076be6 into feat/tgpu-three Dec 10, 2025
3 checks passed
@iwoplaza iwoplaza deleted the feat/tgpu-three-tweaks branch December 10, 2025 18:26
iwoplaza added a commit that referenced this pull request Dec 22, 2025
)

* feat: tgpu.comptime, tgpu.rawCodeSnippet and `this` allowed in TypeGPU
shader functions

* Fix tests

* Better docs for rawCodeSnippet

* Docs for comptime

* - Namable comptime - Turned `extensionEnabled` into a comptime function

* Fixes

* Add @typegpu/three package and Three.js integration example (very WIP)

* Update tgpuThree.ts

* Three.js types for example code view

* More tweaks and experiments

* More work

* A bit more work

* More work

* Using @typegpu/noise in Three.js

* Add a new example

* Testing compute in Three.js

* Update examples

* Update typegpu-material.ts

* Update index.ts

* Some more work

* Works again

* TypeGPU compute shaders in TSL!

* A bit of a refactor of the cloth example

* Cleanup 🧹

* Comparing Three and TypeGPU output

* triNoise3D in TypeGPU

* comptime

* Support for 'this' in TypeGPU shader functions

* Update verlet.ts

* feat: Attractors example (#1949)

* Tweaks

* feat: Tweaks to feat/tgpu-three (#1954)

* Some review fixes

* Thumbnails and tags

* Comptime fromTSL

* Update shellless.test.ts

* fix: Calling `toTSL` multiple times (#1974)

* feat: Inform user about type mismatches (#1988)

* Fix renderer resizing when browser zoom

* docs: Cloth example controls (#1986)

* feat: ThreeJS 'Compute Particles' with tgpu (#1947)

* feat: ThreeJS 'Compute Geometry' with tgpu (#1948)

* feat: ThreeJS 'Compute Snow Particles' example in tgpu (#1972)

* fix: @typegpu/three toTSL should have a per-stage namespace (#1994)

---------

Co-authored-by: Iwo Plaza <iwoplaza@gmail.com>
Co-authored-by: Aleksander Katan <56294622+aleksanderkatan@users.noreply.github.com>
Co-authored-by: Rafal Lukosz <93160829+lursz@users.noreply.github.com>
Co-authored-by: Szymon Szulc <103948576+cieplypolar@users.noreply.github.com>
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.

3 participants