For better visuals, I decided to add nigara system to my ue project. I plan to make some firefly particles to enrich the effect of the picture. At the same time, this is also an initial attempt, and I hope I can use it in future projects

First I created a material that can be applied to fireflies. This is a dynamic material, with particle color and some radial gradient node composition of the material, while some coordinate position, subtraction, multiplication and other calculations, and mapping to create an uneven particle state

After making the material, it was time to create the particle system. I used the base template emitter of hanging particles and adjusted the base material to give this example the material I made in the previous step.

The most important thing is that the base color of the particle needs to be turned up at the value to be greater than 1, and the particle will produce a luminous effect, which is exactly what I want to do for the firefly.

After doing this, I found that these particles were a little lazy, and their moving speed was very slow, so I added some flow nodes to the wind speed to flicker the number of speed scale color RGB nodes, which could be adjusted to its maximum and minimum value.

The result is an example that I am satisfied with.