In this article, I introduce how to make an explosion effect from a reference image of a deep-fried chicken (Karaage in Japanese) in Unity.
This approach was popular a long time ago but I will dare to introduce it today!
Firstly, go shopping for some deep-fried chicken for a reference image.
It doesn’t matter where to buy it, at a hyper store or a convenience store.
You can cook it by your self, of course.
The shown below is what I bought this time.
By the way, I ate them up after taking the photos.
- 1 Confirm sample assets with WebEditor
- 2 Samples
- 3 How to make an explosion effect
- 3.1 Add a Particle System
- 3.2 Set Shape to “Sphere”
- 3.3 Create a Material for the particles
- 3.4 Assing a texture
- 3.5 The setting of the Emission module
- 3.6 The setting of the main module.
- 3.7 The setting of the “Size over Lifetime” module
- 3.8 The setting of the “Color over Lifetime” module
- 3.9 Adjust the whole image
- 3.10 The explosion effect completed
Confirm sample assets with WebEditor
* If you register STYLY, you can check the sample assets created with this TIPS with WebEditor.
If you do not register an account, please register again and click this button again.
You can taste a sample space in STYLY GALLERY.
You can download the Unity project in this article.
How to make an explosion effect
Add a Particle System
Select GameObject > Effects > Particle System
It creates particles in the Scene.
Set Shape to “Sphere”
In the Shape module, set Shape to “Sphere” and set Radius to 0.2.
Create a Material for the particles
Create a new Material for the effect.
Set Material’s Shader to Particle > Additive.
Assing a texture
Prepare a texture for the effect.
I picked up a piece of deep-fried chicken from the image, and make a texture blurred around the boundary.
Assign the image to “Particle Texture”.
Play the particles to check.
The setting of the Emission module
Set the parameters of the Emission module.
Set “Rate over Time” to zero.
Add a Burst with Count set to 100.
The setting of the main module.
Let’s set the parameters for the main module.
Set the parameters as follows:
Start Lifetime: 1.5 and 2 with “Random between two constants” selected
Start Size: 0.4 and 1.5 with “Random between two constants” selected
Start Rotation: 0 and 360 with “Random between two constants” selected
The setting of the “Size over Lifetime” module
Set the “curve for Size over Lifetime”.
Now, I adjust the “Start Size” once more.
The setting of the “Color over Lifetime” module
Let’s colour the explosion.
Make a gradation that starts with orange-type colour.
Set the parameter for Alpha so that it becomes transparent gradually.
Adjust the whole image
Adjust the parameters again while checking how the explosion looks.
The explosion effect completed
It ended up with the shown below.
In this article, I introduced how to make an explosion effect from the image of deep-fried chicken as a reference.
Deep-fried chicken, or Japanese Kara-age, is tasty not only for dinner but also as a reference image!
How to upload an Asset from Unity to STYLY.
Read the article