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

Question-Will this library move to be WebGPU based? #643

Closed
kitaedesigns opened this issue Jul 25, 2024 · 4 comments
Closed

Question-Will this library move to be WebGPU based? #643

kitaedesigns opened this issue Jul 25, 2024 · 4 comments
Labels
question Further information is requested

Comments

@kitaedesigns
Copy link

It seems like three.js is very quickly moving to webGPU and wondering if this library will also move to be webGPU based as well. Postprocessing can be pretty GPU intensive so I think it would make sense but curious to hear how the recent breakthroughs will affect the roadmap.

@kitaedesigns kitaedesigns added the feature request New feature request label Jul 25, 2024
@vanruesc
Copy link
Member

vanruesc commented Jul 25, 2024

Related: #642 (comment), #524 (comment), #279 (comment)

It seems like three.js is very quickly moving to webGPU

Postprocessing will move to WebGPU when the WebGPURenderer officially replaces the WebGLRenderer. The WebGPURenderer is functional but also still experimental/unfinished. There were breaking changes regarding the WebGPU modules just recently in r167, so these components are still in flux.

Postprocessing can be pretty GPU intensive so I think it would make sense

WebGPU will not automatically be faster at rendering. It offers features that can be used to optimize specific workloads, but those optimizations need to be implemented first.

curious to hear how the recent breakthroughs will affect the roadmap

Which breakthroughs are you referring to specifically?

@vanruesc vanruesc added question Further information is requested and removed feature request New feature request labels Jul 25, 2024
@kitaedesigns
Copy link
Author

Gotcha, that all makes sense to me.

Renaud has been doing some great work with all these new webGPU examples, some of them are PostProcessing based, many are not. https://threejs.org/examples/?q=webgpu%20postprocessing#webgpu_postprocessing

Also wondering how new breakthroughs in webGPU based real-time raytracing like in LGTracer https://lgltracer.com/editor/index.html will gel with Postprocessing.

@vanruesc
Copy link
Member

Also wondering how new breakthroughs in webGPU based real-time raytracing like in LGTracer https://lgltracer.com/editor/index.html will gel with Postprocessing.

That's a very broad question. New features are always nice. There will probably be new effects in the future that make use of them once they are more widely supported.

@vanruesc
Copy link
Member

vanruesc commented Sep 1, 2024

Closing this as it seems to be resolved.

@vanruesc vanruesc closed this as completed Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants