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

Shaders that make use of time.seconds_since_startup don't work on wasm #13

Closed
johanhelsing opened this issue May 20, 2022 · 0 comments · Fixed by #14
Closed

Shaders that make use of time.seconds_since_startup don't work on wasm #13

johanhelsing opened this issue May 20, 2022 · 0 comments · Fixed by #14
Labels
bug Something isn't working wasm

Comments

@johanhelsing
Copy link
Owner

Currently if sdfs make use of time, they will not show on wasm.

The time uniform code is based on the animate_shader example in the bevy repo, which has the same problem (so solution should also be the same).

bevyengine/bevy#4813

@johanhelsing johanhelsing added bug Something isn't working wasm labels May 20, 2022
@johanhelsing johanhelsing changed the title Shaders that make use of time.seconds_since_startup don'w work on wasm Shaders that make use of time.seconds_since_startup don't work on wasm May 20, 2022
johanhelsing added a commit that referenced this issue May 20, 2022
johanhelsing added a commit that referenced this issue May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wasm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant