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

[Godot 4.3-4.4dev7] GPUParticle2D spawned out of camera zoom does not animate correctly #101199

Open
francogp opened this issue Jan 7, 2025 · 1 comment

Comments

@francogp
Copy link

francogp commented Jan 7, 2025

Tested versions

Reproducible in 4.3 - 4.4dev7 stable, Windows + Linux, AMD and Nvidia

System information

(Forward+) Godot 4.3 - 4.4dev7, Windows 11, Linux KDE NEON, AMD and Nvidia gpu

Issue description

Creating particles out of screen does not play alpha animations correctly. The example and the video shows how creating particles inside the camera zoom animate OK (fade until disappear), but when creating outside camera zoom, they "just start animating late, and then disappear"

https://www.youtube.com/watch?v=S5k2E4AQg24&ab_channel=FrancoGast%C3%B3nPellegrini

Steps to reproduce

In general:

  1. Spawn particles outside camera
  2. wait some seconds so the animation progress
  3. find the particles outside the camera, and see the problem

Using the project attached:

  1. right click to spawn 5 GPU Particles
  2. zoom out (scroll wheel) to see the 4 particles spawned outside the camera
  3. animation get broken

Minimal reproduction project (MRP)

bug-gpu-particle-2d.zip

@francogp
Copy link
Author

francogp commented Jan 7, 2025

related to this bug #100834

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

2 participants