【UE Particles】Tornado Effect

Effect

step

1. Create a new cylinder in 3dsmax and delete the upper and lower faces

Add UVW Unwrap to modifier list

Open the material editor and make sure that the upper point in the material editor is the point in the circle above the model.

You can appropriately reduce the UV tile area

After the production is completed, import it into UE.

2. Import the textures needed for learning

2. Create a new material and name it "Mat_Tornado"

Open the material "Mat_Tornado", select the imported static mesh "SM_ky_windLine30", and then click the following button

Set the blending mode to "Masked", select "Unlit" for the shading model, and check "Double Sided"

Add texture

Give the material a color

3. Create a material instance

4. Place the static mesh in the scene and set the material to "Mat_Tornado"

5. Create a new particle system and name it "P_Tornado"

Open "P_Tornado" and name the emitter "Tornado Inner Layer"

Create a new "Mesh Data" module

 

Replace the mesh in the "Mesh Data" module with the model we built ourselves

Click to reload material

Set the constant to 1 in the "Initial Size" module

Set the material in the "Required" module to the material instance "Mat_tornado_Inst"

We want the particles to move vertically upward after they are generated, so set the value of the Z axis to 50 in the "Initial Velocity" module

We want to add a horizontal rotation to the generated particles, so here we first add a "Rotation->Initial Mesh Rotation" module

Then set only the Z-axis direction to have a value, which means that the particles are only allowed to rotate around the Z-axis direction.

Add a "Rotation Rate->Initial Mesh Rotation Rate" module

 

Set the rotation rate so that the rotation rate changes a little irregularly

Add a "Size->Size with Life" module

 

Let the size of the particle when it is first generated be 0.5, and the size when it ends life be 1.5

Finally, modify the number and speed of particle generation.

6. Add the particles to the scene and find that they are very small

 

The size can be modified through the "Initial Size" module

After changing the size, we found that the distance the particles are emitted is too short. We can increase the initial speed.

We hope that the particles will become slower as they go up. We can add an "Acceleration -> Resistance" module. The greater the resistance, the closer the particle emission distance will be.

If you want to modify the color of the particles, you need to go back to the material and modify the self-illuminating color node.

Then set the color in the particle system

If you want the color to be brighter, you can set the color value larger

 The effect at this time is as follows:

If we want the particles to maintain their shape when moving, we need to check "Use local space" in the "Required" module

Video link:

https://www.bilibili.com/video/BV1dY411G7qX?p=3&vd_source=36a3e35639c44bb339f59760641390a8

Supongo que te gusta

Origin blog.csdn.net/ChaoChao66666/article/details/132839088
Recomendado
Clasificación