【Unity】Particle system

Particle preview window

Insert image description here

  • Play/Pause/Restart, run/pause/restart
  • Playback Speed, playback rate
  • Particle , the number of existing particles

main module

Insert image description here

Start Color, the initial color of the particles
Start Speed, the initial speed of the particles (m/s)
Start Size, the initial size of the particles ( m)

Duration, period, the working duration of the particle system
Looping, loop, the particle system only works once/cycles
Prewarm, preheating, material Whether the system should be preheated internally for a cycle first
Start Lifetime, the life time (existence time) of the particles, the default is 5 seconds

Max Particles, the upper limit of the number of particles, default 1000

submodule

Insert image description here

Emission, frequency of emission

Launch at a constant speed

1 Rate over Time
Every 1 second, N particles are emitted
2 Rate over Distance
Every time it advances 1 meter, N particles are emitted. For moving objects.

Bursts

Insert image description here
Time, the time when the explosion occurred
Count, how many particles were exploded
Cycles / Interval, the number and interval of explosions
Probability, the possible probability of explosion. O means it will not explode (dud bomb)

Explosion other settings
Looping = No, the particle generator only works once
Start Lifetime = 0.2, the particle existence time is extremely short
Start Speed ​​= 30, particles fly extremely fast

Particle number calculation

Consider:
Rate over time = 10
Start Lifetime = 5
Note that particles are reborn and die.
Max Particles, the upper limit of the number of particles, default 1000

Shape, the shape of the particle generator

Display of Renderer particles

Insert image description here
Billboard
A small piece of paper controlled by a particle system, always facing the observer (camera).

emitter shape

Insert image description here

Cone tapered
Sphere spherical
Hemisphere hemispherical
Box box shape
Circle round
Rectangle rectangle
  • Cone cone emitter
    Angle , angle
    Radius , bottom radius
    Radius Thickness , radius thickness ( Wall thickness)
    Length, length (height)
    Emit from Base Emit from the bottom/Volume Emit within the volume

  • Sphere/HemiSphere
    Radius
    Radius Thickness (surface thickness)

Add sticker

1. Modify the material
Insert image description here
Black and transparent background maps are available (white background is rare)
Insert image description here
2. Switch shaders
Insert image description here
Insert image description here

Shader : Particles | Standard Unlit
Render Mode : Additive
Color Mode : Multiply
Albedo :指定贴图

Guess you like

Origin blog.csdn.net/qq_36687211/article/details/128188107