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

Fix particle shader deterministic random values #80638

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

sepTN
Copy link
Contributor

@sepTN sepTN commented Aug 14, 2023

Fixes #80625

bugsquad edit: Fixes #78771

@akien-mga akien-mga added this to the 4.2 milestone Aug 15, 2023
@akien-mga akien-mga requested review from QbieShay and clayjohn August 15, 2023 07:02
@akien-mga akien-mga added the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Aug 15, 2023
@AThousandShips
Copy link
Member

There are more cases in the same file just a few lines down

@sepTN sepTN force-pushed the fix-particle-shader-rand branch from bc1a9c9 to 318ae99 Compare August 15, 2023 07:57
@sepTN sepTN force-pushed the fix-particle-shader-rand branch from a7df458 to cb7400d Compare August 15, 2023 08:06
Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Tested locally and can confirm that this fixes #78771

@QbieShay
Copy link
Contributor

LGTM, could you take a look at #79527 ?

Once that is merged this PR will be overridden by those changes and I'd like to make sure that it does not re-introduce any regression. It should not be an issue since all random values are calculated and stored at the beginning of the function, but i'd be happy to have a second pair of eye on it ^^

@akien-mga akien-mga merged commit ed1180a into godotengine:master Aug 16, 2023
@akien-mga
Copy link
Member

Thanks!

@YuriSizov YuriSizov removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Oct 19, 2023
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.1.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants