Particles in Godot 3, small particle anti-aliasing, and a fingerprint system on shaders

Using different particles in Godot 3. No post-processing effects.

Links:

Start WebGL2 and download other versions link to itch.io .

Source code on github .

The article is divided into sections:

  1. Smoothing small particles, different ways.

  2. Lots of balls - particles without loss of performance. And a 3d projection in the shader.

  3. Screen space decals system.

  4. Other.


1.

2 4 , , , 2 4 :

.

1 . 4- :

particlelineAAbase.shader - , dFd* , , :


2.

intersection projection .

- 1000 - (GPU) , 1000 - GPU 100%. 1000 ( ) 25% GPU.

-:

, :

particle_cloud_base.shader .

iquilezles.org.


3. Screen space decals

Screen-Space-Decals, :

  1. , .

  2. dacal.

  3. Material-ID Decals .

:

Material-ID:

Godot render-pass, . Viewport :

material-ID (depth). (depth) . , Material-ID Viewport depth:

Viewport overhead, , - Debug ( ) , 0.25 1.


4.

- , , .

, , .

Garden Fireworks - @P_Malin.

- .

- .

- 360 1 , . :

:

Nvidia:

, Vetrex , Vulkan .

:

  1. 3d sketchfab CC-non comercial .

  2. patrickdearteaga.com

  3. MIT license.

Link to the list of used resources .

Thanks for reading this article.




All Articles