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

Compute Shader implementation #4

Open
johnryan465 opened this issue Aug 25, 2023 · 3 comments
Open

Compute Shader implementation #4

johnryan465 opened this issue Aug 25, 2023 · 3 comments

Comments

@johnryan465
Copy link

It is mentioned in the readme that a compute shader implementation was written and had lower performance. It would be nice to be able to have both implementations in the repo, perhaps with a launch flag to select the implementation.

@jatentaki
Copy link
Collaborator

I'm a complete typescript noob and since the code to bind a compute shader output to a canvas is substantially different from that of a classical render pipeline, I never had it in a form where it's easy to switch between the two. Let me know if you're interested, I can open a repo where the compute shader lives in a stale branch and you can try it out and integrate in here if you have the time.

@andresrommier
Copy link

I am wondering if adding ThreeJS as a dependency to this project would help simplify or avoid having to re-implement the wheel for certain things.

@julien-blanchon
Copy link

I'm a complete typescript noob and since the code to bind a compute shader output to a canvas is substantially different from that of a classical render pipeline, I never had it in a form where it's easy to switch between the two. Let me know if you're interested, I can open a repo where the compute shader lives in a stale branch and you can try it out and integrate in here if you have the time.

I'm quite interested to try to merge the two if needed. Implementing such things are completly behind my scope but a typescript refactor may be in my range ^^. This code base is by far the most organize yet available

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

No branches or pull requests

4 participants