-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Fix noise_direction
variable used before initialized in particle shader when using turbulence with collisions
#83881
Conversation
Most likely because this code is older than C++11 usage in the Godot codebase, and hasn't been modernized yet. It could be changed, but since there are lots of fixes on particles code being done these days, I'd wait a bit to avoid breaking PRs and making the |
6563e74
to
d008f2a
Compare
d008f2a
to
f388874
Compare
f388874
to
80f38a3
Compare
…ader when using turbulence with collisions, delete unused code
80f38a3
to
cc14e00
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for making so many changes
Thanks! |
Fixes #83858
And why do we not use R""(Raw String Literal) to replace continuous
string +=
inparticle_process_material
? Much cleaner and potentially faster.