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

Particles rendered incorrectly with a gradient texture #81166

Closed
Chaosus opened this issue Aug 30, 2023 · 2 comments · Fixed by #81198
Closed

Particles rendered incorrectly with a gradient texture #81166

Chaosus opened this issue Aug 30, 2023 · 2 comments · Fixed by #81198

Comments

@Chaosus
Copy link
Member

Chaosus commented Aug 30, 2023

Godot version

9f9210e

System information

Windows 11

Issue description

I found that one of particles shaders in my project begin working incorrectly after the recent fixes. I've bisected it to 9f9210e.

Before:
image

After:
image

Steps to reproduce

Download the provided test project and compare changes with different version.

Minimal reproduction project

bug.zip

@YuriSizov
Copy link
Contributor

YuriSizov commented Aug 30, 2023

I've bisected it to 9f9210e

Regression from #81137. cc @KoBeWi @Geometror

@YuriSizov YuriSizov added this to the 4.2 milestone Aug 30, 2023
@KoBeWi
Copy link
Member

KoBeWi commented Aug 31, 2023

When I convert the material to ShaderMaterial it works correctly 🤔

EDIT:
Some more findings. It also works when you copy the texture, clear Color Ramp and paste the texture again. Interestingly, it works until editor restart; reloading the scene does not break it. Modifying the texture to send the changed signal does not work.

EDIT2:
Once you "fix" the texture, the particles will correctly update when you modify the texture.

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

Successfully merging a pull request may close this issue.

3 participants