-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
Vulkan: GPUParticles create artifacts upon instantiating due to scale interpolation issues #59072
Comments
Maybe related to #56691 |
This may also be related to, or even a duplicate of, #54771. |
I have similar problem with GPUParticles2D on Godot v4.0.alpha.custom_build [155a94f] 2022-04-01.02-32-03.mp4Test project: https://github.com/lufog/godot-asteroids Should I open a new issue, or it's the same problem? |
This is likely the same issue – we can consolidate it here. |
Godot v4.0.alpha.custom_build [12cb05b]
godot_gpuparticles2d_disappearing_flash.mp4
godot_gpuparticles2d_artifacts_shorter.mp4I also noticed particles from a previous run of the game sometimes flashed. How observed:
Test project: |
Sadly on v4.0.alpha6.official [e4f0fc5] I am facing the same issue, I tried creating a minimal project to post it but I couldn't reproduce it isolated, however I could capture the bug on screen, tested on a GTX 1050 TI running on win10: This weird scale flicker that grows huge is abnormal and does not have any correlation to the particle parameters or the shader, I have tried a lot of tests on this project to see if I could fix it (chaning all particle parameters and testing the shader the heck out), the only thing that seemd to fix it was to set Vsync on, I don't know if it has something to do with fast frames over 60 fps and delta, on this specific project it's running about 270-360 fps without vsync, it also happens more frequently when I move my character, the camera is also not inside the kinematicbody3D and I am constantly lerping various velocities on the physics process in this project. Edit: And I forgot to mention that I am instantiating the particle for every shot, mainly because I didn't like animating |
#56886 (comment) Linking similar issue |
Recently experienced this issue (2D and 3D shown already in this issues thread) Thought I would mention it in case it's a helpful lead for finding the issue or saves someones eyes in the meantime. |
Seeing something similar in my own project, will have to try the tip above because a super-sized spark is not a pleasant sight |
Yea this helps, but I ocassionally still get some flickers, preprocess advances the particle life through that amount when it's emitted, so it starts a little more 'older' in lifetime terms, if you increase pre-process past the lifetime, the particle will not even appear on screen, unless you have a special animated sequence or very short lifetime like a fast particle, this will not work. |
can confirm on 4.0beta8 2022-12-15.21-39-05.mp4 |
Tracked this down. It is a regression from #58491 |
Godot version
4.0 Alpha 4
System information
Windows 10
Issue description
So there are some artifacts when spawning GPUParticles3D (not 2D) specifically. I've tried on Alpha 3 and the issue is not present. I also have some CPUParticles3D working along side these and they also do not seem to create this issue.
Video 1
Video 2
It is only happens a few times during play, and goes away after spawning them in a few times more.
Specs:
i7-9700k
RTX 2060 (Zotac) => Running GeForce Diver Version 511.79
Steps to reproduce
Instantiate a GPUParticle3D
Minimal reproduction project
TestingParticles2.zip
The text was updated successfully, but these errors were encountered: