Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples : Add TSL VFX Linked particles #29354

Merged
merged 2 commits into from
Sep 8, 2024

Conversation

ULuIQ12
Copy link
Contributor

@ULuIQ12 ULuIQ12 commented Sep 8, 2024

Adds WebGPU/TSL VFX Linked particles example.

I was asked by mrdoob if I was up for porting one of my experiment with TSL to an actual three.js example.
Original project :
https://github.com/ULuIQ12/webgpu-tsl-linkedparticles
Demo : https://ulucode.com/random/webgputests/linked/

I tried to trim it down to focus on the TSL parts, which include various things :

  • Particles
  • Dynamic geometry in compute with storage buffer attributes
  • Usage of various NodeMaterials

I tried to follow this request : #29020 , and I'm aware of the associated discussion.

Issue :
The webgl fallback doesn't seem to work, and I'm not sure why (no errors), so for now it displays the standard error if webgpu is not detected.

Adds WebGPU/TSL VFX Linked particles example.
@sunag sunag added this to the r169 milestone Sep 8, 2024
@sunag sunag merged commit 643f88c into mrdoob:dev Sep 8, 2024
11 checks passed
@mrdoob
Copy link
Owner

mrdoob commented Sep 9, 2024

Thanks!

@ULuIQ12 ULuIQ12 deleted the dev-tsl-vfx-linkedparticles branch September 9, 2024 06:44
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