Skip to content

Vulkan: GPUParticles3D attractor and collision Cull Mask doesn't have any effect #61014

@Calinou

Description

@Calinou

Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.


Godot version

4.0.alpha8

System information

Fedora 34, GeForce GTX 1080 (NVIDIA 510.60.02)

Issue description

GPUParticles3D attractor and collision Cull Mask doesn't have any effect. I noticed this while working on #60992.

The same issue occurs with GPUParticles3D collision nodes.

Left: GPUParticles3D on layer 1, GPUParticlesAttractorBox3D with all cull mask layers enabled (default)
Middle: GPUParticles3D on layer 2, GPUParticlesAttractorBox3D with all cull mask layers disabled
Right: GPUParticles3D on layer 2, GPUParticlesAttractorBox3D with only the cull mask layer 2 enabled

Expected behavior

2022-05-13_23 59 24

Actual behavior

2022-05-13_23 59 13

Steps to reproduce

  • Add a GPUParticles3D node, a draw pass and a process material to it. Set the emission shape to a sphere to you can see individual particles separated from each other.
  • Add a GPUParticlesAttractor3DBox node.
  • Enable only the second visual layer on the GPUParticles3D node.
  • Set the cull mask to exclude all layers on the GPUParticlesAttractorBox3D node.
  • To reproduce the same issue with collision, add GPUParticlesCollisionBox3D nodes and enable collision on the particles' Process Material.

Minimal reproduction project

test_particle_attractors_cull_mask.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