Blender 2.8 Tutorial – How to Create Fire in Eevee


hello everyone and welcome back to
another blender made easy tutorial today we’re gonna be creating fire in Eevee and
using the blender beta 2.8 now if you don’t know how to get the blender 2.8
you have to just go to blender.org slash 2.8 and then download the latest version
now the developers are constantly putting out updates so there should be a
newer version or ready for you when you’re watching this video so now let’s
jump back over to blender and let’s get started with creating fire now creating
fire in Eevee is very nice because in cycles it takes a very long time
to render fire and I’ve noticed in Eevee it renders almost instantly like the
idea to test animation over a hundred frames and every single frame took about
seven or eight seconds which is really really good for fire simulations so
let’s get started with creating the fire the first thing that we’re going to be
doing is deleting the cube so press X and then delete it then I’m going to
press shift a and add in a mesh and then a circle with this circle I’m gonna go
into edit mode and then hit the F key to fill in a face there we go next I’m
going to select the lamp and press X and delete that
then select your circle and let’s add in the domain object so go over to object
over here on the left top side then go to quick effects and then quick smoke
this will automatically add a domain for us with a basic material already
in place so the next thing I’m going to do is move the domain down just a little
bit so press the G key then Z and just drag it down until it’s about right in
the middle okay then you can also scale this down just a tiny bit next press s
shift Z and that will scale it along the X and the y and I’m going to drag it out
till it’s about the size that I want probably around there looks pretty good
now if we were to play this we can see the smoke is rising but there is no fire
so what we need to do is right click on our circle go over to
the physics settings and change the flow type from smoke to fire now there is an
option for fire and smoke but what this will do is it will create a ton of smoke
and a ton of fire which is not really what I want I want I want just basic
fire with a little bit of smoke and so that is what the fire option is for so
make sure it’s set to fire and now we are ready to start messing with the
settings down here so the flame rate this is how much flames will be in the
scene and how fast they will be moving I’m going to set this value to two next
I’m gonna set an initial velocity so turn that on and set this value to two
as well now the initial velocity this will just give the flames some really
fast movement at the beginning of the animation so if I turn it on you can see
it kind of right there next let’s go over to the domain settings so right
click on your domain and we can set some values over here the first value that
we’ll be changing is the temperature difference what I want for this
animation is the fire to be spreading out outwards and not up and we’ll be
using a force field in just a minute so I’m gonna turn the temperature
difference which is how much the temperature of the smoke makes it rise
or makes it fall I’m gonna set this to zero because I don’t want anything
interrupting the force next I’m gonna open the field weights and turn off a
gravity so right here I’m just gonna drag that all the way to zero there we
go and now let’s add in the force fields so press shift a go to force field and
then force over here on the strength I’m gonna set this value to 35 there we go
let’s see what happens once we play the animation we can see they’re spreading
out it’s going downwards though so maybe we’ll drag the force field down just a
tiny bit restart the animation and play and there we go I think that’s okay next
let’s set the noise amount to 1 this will just give it some randomness so
it’s not completely the same and another force field I want to add is a
turbulence just give it some more randomness so I’m
going to shift D then right click and over on the type I’m gonna set it to
turbulence right here the strength of this I’m gonna turn down to 20 and then
the noise value we can leave at 1 all right there we go not too bad let’s go
over to our domain settings restart the animation and play it and see what it
looks like there we go that’s looking pretty cool
okay so over in our domain settings here is an option for adaptive domain
normally I would turn this on but for some reason in the beta or maybe just
the beta version that I’m using it’s not currently working if I turn it on and I
play this you can see it kind of breaks the simulation for the first couple
seconds I’m not sure why that is but I just leave it off for now maybe in the
future once it gets patched this will work but if you’re using a version that
I’m using just the beta version you can turn it on see if it works if it doesn’t
just leave it off ok so everything is looking pretty good so far let me just
double check all of our settings ok so now what I want to do is animate this
surface value so on frame 1 I want this to be a hundred percent surface so I’m
going to hit this little button next to the value and that will add a keyframe
to the surface next I’m going to set the end frame of the animation to 100 so
we’re gonna do an animation over a hundred frames I’m going to skip to the
end and change the surface value to zero then hit the IP or you can just click on
that button and that will add another keyframe okay there we go
next I wanted to do the exact same thing for our force fields so let’s right
click on our force field right here I’m going to go to frame 1 add a keyframe to
the strength skip to frame 100 turn the strength to zero and then hit the IR
right there that little button and that adds another keyframe so over
100 frames you’ll notice that the value changes do the same thing for the
turbulence so you can right-click on the turbulence go to frame 1 hit that button
go to frame 100 change the value of the strength to zero and then hit the button
one more time and then we’ll play it and see how it looks and it’s looking ok
it’s not the best and that the reason for that is because the resolution of
the fire is not too high once we turn that up it’ll look a lot better so now
let’s go back to our domain settings over in the resolution I’m going to set
this to 96 there we go and then underneath the high resolution I’m gonna
turn this on and set the smoke divisions or the fire divisions to a value of 2
which i think is pretty good you don’t need to go too crazy you can turn it up
to 3 if you want to but the bacon will take a little bit longer so everything
else I think is good to go let’s save our project because the beta is a little
bit unstable I’m just gonna press ctrl s I’m gonna save it to my desktop and call
it tutorial there we go alright we are good to go so open up the cache settings
we can set the end frame of our cache to 100 there we go
actually before we bake let’s actually set up the material because blender will
slow down quite a bit once we’ve done the baking so let’s open up the node
editor with the domain selected so split the view up here on the left I’m gonna
go to shader editor it’s extra called shader instead of node editor then press
n to close it off right now we have the principal volume and this is for the
smoke if we were to play this oh gosh don’t play it because I forgot to change
the settings back we’ll just leave it like this we’ll zoom in and go into
render view we see nothing the reason for that is because over in the scene
settings we haven’t turned on volume metrics
so go over to the render settings turn on volume metrics and you should see can’t really see it I think it’s because
it’s fairly shorted that’s fine what we need to do now is add in the flame
settings so how to do this is press shift a go to shader and then add shader
place that in between the principal volume and the material output next
press shift a go to shader emission take the meet emission output plug it into
the bottom socket there we go and you can see it fills up the entire thing
don’t worry about that then press shift 8 go to input and then attribute with
the attribute node you’re gonna type in the word flame make sure you spell it
correctly with no caps then take the factor output actually take the color
output and plug it into the color of the emission shader
and there you go you can see our smoke are technically our fire then press
shift a we’re going to be adding in a converter color ramp place that in
between the color of the attribute and the emission and here is where we set
the color of the fire so with this I’m gonna hit the plus sign to add in a new
node here and for this color I’m gonna go with a dark orange somewhere around
here I think will look good all right then hit the plus sign again
drag it over to the right just behind at the white and change this to a lighter
orange somewhere around here where you think fire would look good I think that
will be perfect right there and as you can see the fire is starting to look a
little bit better it’s still not great though and what we need to do next is
press shift a go to converter and then math change this to multiply take the
factor output of the flame plug it into the top value then take this value and
plug it into the strength actually I think this is supposed to go in the
factor there we go and then here this controls how strong the fire will look
so let’s try setting this to a value of 30 and if we do that you can see this
looks a lot better and it looks a lot more like fire
all right I think that is good to go if you want to you can change the density
of the smoke with this value but I think for now I will just leave it at five
another thing we need to do is open up the volume metrics and change the tile
size from eight to two and this will just give our smoke a lot more detail as
you can see before let me go back to eight you can see it’s like pixelated
doesn’t look that great if we change this to two it looks a lot better all
right there we go we can close off our material we are done using that and now
we are ready to bake so let’s restart the animation make sure our domain is
selected go over to the physics settings down here at the bottom then hit bake
save my project okay the baking has finished and here is
our result as you can see blender is slowed down
quite a bit but that’s okay I’m going to skip to frame let’s say five or so and
there we go that’s looking pretty cool if we go a little further back we can
see more flames not too bad at all alright so the next thing that we’re
going to do is go over to the render settings and add some bloom to our scene
so I’m going to check that box and as you can see immediately it creates the
scene looking a lot cooler if we open up the bloom settings we can change the
threshold amount this will just clamp down on most of the bloom I turn this up
it will get rid of quite a bit of it actually I’m going to leave it at the
default value for a second I’m going to go into top view by pressing 7 then I’m
gonna hit ctrl alt and 0 to snap the camera to that view where I’m looking
next I can right click on the camera G middle mouse button and just drive the
camera back till we get the full view of our flames let’s just go through and
make sure we can see everything yeah looks pretty good alright so now I’m
going to go to frame let’s say 25 or so save my project then hit Z and go render
view actually I’m already in render view alright there we go
next thing that we’re going to do is change the threshold so let’s set this
to – just to see how that looks that looks
pretty good if you want to change the intensity of this you can turn this down
right here I think leaving it at the default setting is fine
next I’m going to go over to the world settings and change the color to
completely black and this will help being able to see the fire a lot more
all right there we go the threshold I do want to turn up a
little bit more let’s try maybe four all right a little bit less than that all
right that looks pretty good I’m gonna save my project one more time and now we
are ready to render so next what you’re going to want to do is go over to the
output settings and select an output right here so click on this button go
over to wherever you want to save it save your pictures I’m gonna create a
new folder and just call it pics and I’m going to save it in this folder so once
you’ve done that click accept and now we can go up to render and then click on
render and animation if you wanted to you could change the output right here
to a movie file but the problem with that is you if you need to stop the
render halfway through it will cancel out the entire thing and using a PNG or
another image format this will enable you to stop the render and then resume
it at that point so if you get halfway through the render and you need to stop
just make sure you uncheck overwrite and then click on a rendered animation again
and then that will resume it at the frame which you stopped it but since I
don’t have any frames I can just leave overwrite checked then go up to render
and then click on render animation now if we watch the first one real quick we
will see that the render will take just a couple seconds seven seconds or so and
it rendered the first rain but rather in cycles if we were rendering fire it will
take maybe a minute or two so that is really really good render time
especially for fire simulations so this is rendering it’ll take just a couple
minutes and I’ll come back to you once it’s done okay the render has finished
it has reached 100 frames and now we can see Quinn
out of the images so I’m going to close off our render layer and then go over to
this button and click on video sequence editor make sure you’re on frame 1 then
go over to add image sequence navigate to where you saved your images mine are
right here you can press a to select everything and then go add image strip
once we do that over in the output settings the file format we can change
to MPEG and the encoding we can set it to mp4 or whatever file format you would
like after that all you have to do is go up to render and then render animation
and it will grab all of those render files and put them into a movie file and
we can see our render playing right now it’s looking pretty cool if you go over
to the folder where you saved your movie file you’ll be able to see the dot mp4
right here let’s double click on this and view it and as you can see that
looks pretty sweet let’s play it one more time not too bad in this animation
took very little time because Eevee renders fire and smoke very very fast so
there you go guys that does it for this tutorial
if you ever create fire or smoke I recommend using Eevee because it looks
really nice and it renders like 10 times faster so that does it so thanks for
watching make sure you like comment and subscribe for more tutorials and I’ll
see you guys in the next one take care good bye

Leave a Reply

Your email address will not be published. Required fields are marked *