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 will not render the color correctly when using color ramp + color initial ramp #73872

Closed
RPicster opened this issue Feb 24, 2023 · 2 comments

Comments

@RPicster
Copy link
Contributor

Godot version

4.0.rc4

System information

Win 10

Issue description

When using a combination of these settings, only color_ramp will be used as a recompilation of the shader is not triggered.
image

Deleting the ramp used in color_ramp and reassigning a new ramp will cause a recompilation and everything looks as it should.

Steps to reproduce

  • Create GPUParticle3D node and give it a basic setup
  • Add a color_ramp
  • Add a color_initial_ramp

Minimal reproduction project

Makes no sense, when the project is closed and reopened, the shaders are recompiled.

@YuriSizov YuriSizov added this to the 4.1 milestone Feb 24, 2023
@YuriSizov YuriSizov modified the milestones: 4.1, 4.2 Jun 22, 2023
@RyanGatts
Copy link

Still running into this in 4.1.2.stable.official
No combination of Color Ramp and Color Initial Ramp can be used together, Color Ramp's output always stomps Initial.

@clayjohn
Copy link
Member

clayjohn commented Nov 2, 2023

I can confirm that this is still a problem in 4.1.x. It has been fixed for 4.2 though, I confirmed that it is fixed as of Beta4!

I think it was fixed by #79527 which was a major change, which means it isn't suitable to be cherrypicked to 4.1.4 unfortunately.

@clayjohn clayjohn closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants