Hi everyone, this is the second part of this tutorial about particles for torches effect inside Unity3D, in the first tutorial we can find here (http://thebloodyshadows.blogspot.com/2013/08/tutorial-fire-effect-particles.html), we have a flame already like one from a torch, now the torch's flame burns the wood from it (if it happens that we are using a wooded torch) what makes smoke, in this tutorial we will see how to make smoke come out from the fire.
Remember that one of the most important element in particles is the texture, and as the former tutorial, here I leave the needed texture for smoke effect.
Now let’s create a new material for particles which we will use to create our smoke, head toward the project window and hit Create > Material and we are going to name it Smoke, next in the inspector we’ll change the shader from Diffuse to Particle > Additive and the main texture place our texture.
Now that we have the material ready to use, hit GameObject > Create Other > Particle System and in the scene you can see a buch of white dots as particles.
Now at this point is exactly the same as the fire, but in changes in the shape and transparency thanks to the texture, now we will change some settings to make it look more like smoke, it can seems that some settings are very similar to the fire settings, let's begin!
Particle System
Emision and Shape
Color over Lifetime
1 = Color (RGB: 200), Alpha (15).
2 = Color (RGB: 21), Alpha (0).
Size over Lifetime
Renderer
Ok, now we have the smoke, this smoke is ready to place it over our fire effect, we can parent the smoke inside the fire object to make it like it comes out from the fire.
I hope it helped you, any doubt do not hesitate in comment and soon we will be seeing more effects in following tutorials, bye!
~ Sycmasters
No comments:
Post a Comment