0 votes

In this video you can see a demonstration of a ParticleShader producing 2D particles that bounce around a level. The map here is bitmap-based and the collision shape is determined by the texture alpha channel:
https://www.youtube.com/watch?v=8Q77OlffvfQ

I'd like to know if it's possible to create a ParticleShader that'd detect collisions with 3D geometry and react accordingly.

Example use casese: sparks that don't fall through the floor and walls of a corridor, but bounce off of them before they die, also interacting with other physics objects in the scene (for example rolling barrels).

I've searched the web, but found nothing so far, except this 2D example, though many 3D engines do this, and it seems to be GPU-accelerated, so I believe it should be possible with a ParticleShader.

asked Jan 17 in Engine by unfa (156 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.