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

Support WGSL shaders #5925

Open
erikdubbelboer opened this issue Jan 1, 2024 · 1 comment
Open

Support WGSL shaders #5925

erikdubbelboer opened this issue Jan 1, 2024 · 1 comment
Labels
area: graphics Graphics related issue feature request

Comments

@erikdubbelboer
Copy link
Contributor

erikdubbelboer commented Jan 1, 2024

PlayCanvas is currently using glslang and twgsl to transpile GLSL into WGSL. This doesn't support all new features in WGSL which are not usable now.

Things like

The shader generator will need to be changed and all current shaders will need to be rewritten. It will need to be possible for developers to provide shader chunks for both GLSL and WGSL at the same time for backwards compatibility.

@mvaligursky mvaligursky added feature request area: graphics Graphics related issue labels Jan 8, 2024
@mvaligursky
Copy link
Contributor

related: #5691

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue feature request
Projects
None yet
Development

No branches or pull requests

2 participants