Skip to content

GPUParticles3D flickers frozen particle at world origin (0, 0, 0) when shader material has y-billboard set #72650

@kraybit

Description

@kraybit

Godot version

v4.0.beta17.mono.official [c400205]

System information

Windows 10

Issue description

With certain settings, GPUParticles3D intermittently shows a particle at world origin with zero velocity.

These settings in GPUParticles3D caused this behavior:

  • Lifetime 1 s
  • Material Override / StandardMaterial3D / Billboard / Mode : Y-Billboard
  • Mesh: Quad

Quirks

  • Turning Y-Billboard on and off toggles the bug
  • Setting Lifetime for particles to 10 s makes the bug disappear "for ever", even if setting back Lifetime to 1 s (?)

gpu_particles_ybillboard_bug

Steps to reproduce

  • Create new Godot project
  • Create new scene with Node3D
  • Add GPUParticles3D node
  • Under Process Material, select New ParticleProcessMaterial
  • Click ParticleProcessMaterial for settings, there set Emisssion Shape to Box
  • Under Draw Passes / Pass 1, select New QuadMesh
  • Click the QuadMesh for settings, there set size to 0.1 , 0.1
  • Under Geomeetry / Material Override, select New StandardMaterial3D
  • Click StandardMaterial3D for settings, there set Billboard / Mode to Y-Billboard
  • Set Transform y-position to 1

At world origin (0, 0, 0) there's intermittently a particle with zero velocity.

Minimal reproduction project

gpu_particles_ybillboard_bug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions