godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.62k stars 19.31k forks source link

GPUParticles2D's speed scale with scale curve cause texture flickering #58675

Open girng opened 2 years ago

girng commented 2 years ago

Godot version

62765fb

System information

W10, RX 480, Vulkan

Issue description

If you set the speed scale property to a low value, and you use a scale curve, you'll see a white texture flicking across the the GPUParticles2D render area.

If you have a low speed scale value, and remove the scale curve, it removes the flickering though. It seems whenever a low speed scale property is working in unison with a scale curve, it creates the flickering

Video: https://i.gyazo.com/14db2df4287ef29d1587fb67763b14b0.mp4

Steps to reproduce

I created an example project

Minimal reproduction project

godot_gpuparticles2d_scale_flickering_bug.zip

Calinou commented 2 years ago

@girng The minimal reproduction project didn't upload (likely because you clicked away from the text field while it was still uploading). Try editing your post and upload it again.

girng commented 2 years ago

@Calinou edited, ty!