How To Use Lights - #18 Unreal Engine 4 Level Design Tutorial Series

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey there guys your boy versus here and welcome back to my Unreal Engine 4 level design essential series in today's video we are going to be taking an introduction to lighting inside of Unreal Engine 4 so having said that we are going to be taking a look at some of the different types of light inside of Unreal Engine 4 and then some of the settings which are going to give you a little bit of control and power over the way the look of the lighting is so those settings are going to be famous like the intensity the color the attenuation and all of that good stuff and by the end of todays video we should understand how the lights work inside of Unreal Engine 4 and be able to use them to make some really beautiful scenes inside of our real engine so what we're gonna do then is we're gonna dive straight in and start off by trying to explain the four different lighting types so if you go over to the placing mode inside of Unreal Engine 4 and then going to the lighting tab you are going to notice we have four different types of light the first one is directional light second is point lights spotlights and lastly your skylights and each and every one of these are going to do something completely different and they're going to have a different purpose but all of those are really important and you will use them so what I'm going to do is try and explain each one of these but what I do recommend is you click the little question mark here to open up some of the documentation for each of these so you can get a more of an advanced look at those what I'll also be doing is doing a full lighting series inside of Unreal Engine 4 which will be up on the channel at a later date anyways so starting off from the top we have our directional light this is directional and is going to act like the Sun essentially so what it is is it's essentially going to be a light in your scene this is going to cover the whole of the world and if you rotate that all of the shadows are going to move so let me show you exactly what I'm talking about now by default I actually have one of these in my level and I can find that in the world outliner in the top right and in here it should just be called light source and note when I select this you're going to see I am then able to rotate this or move it but the main control that you need with this is your rotation so if I was to go and rotate this you will notice all of the shadows for the entire level are going to move because this directional light is coming down from the sky in I'd out in a direction and casting shadows so that's essentially what it's going to be do essentially you are going to be using this to mimic the Sun moving on we have a point light and a point light is going to be like a regular light bulb and what I mean by that is it is going to shine light from all directions literally going everywhere so if you want to place one of these it's really straight forwards so if you want to place one just click it and drag and then from there you can place it into your scene and moving this is as simple as just using the normal transformation tool so you can move this left right and so on and place it exactly where you need it now what you will notice is have actually placed a couple of lamps if you do want these lamps and want to place them into your level they are part of the starter content in your content browser to go to starter content props and then you've got lamp ceiling and lamp wall now this point light is perfect for this lamp at the ceiling because it points like emits lights in light in all directions and you can really easily use this to light up the whole of your scene and it looks really nice so this could be used for everything from normal lights to making lava emit light or buttons or anything like that it's entirely up to you but what you need to know is that this is going to emit light in all directions whereas spotlight very similar but instead what it's going to do is emit light in a cone in a certain spot so I've just clicked and drags and drops one of these into my scene and you can see as soon as I do this we have this cone coming out from the light and this is essentially telling us where the light is going to go and with this I can move on and then I can rotate this and I can place it wherever I need now I've got this little lamp here what I'm gonna do is drag this down and move it into my lamp and make it look a bit like a spotlight I like it should do and you're going to notice light is only going to come out of that main cone and if I press G to get rid of all of these icons you can see that looks exactly how it should light just comes out of there so you might even want to use this for this so you don't have any like going into there casting a shadow but for the most part hopefully you guys should understand exactly what this does now the last type of light that we have is our skylights and what this is going to do if you drag it into our scene is allow you to capture light from our environment and then just reflect it onto all of our objects now with this selected if i turn my intensity up you can see it really makes our environment pop and it brights it up a little bit now this is something that you're gonna play around with and it's something that you might not have in all of your levels but just read the documentation for that and have a little play around now that I've gone over what the four different types of lights are I also want to take a look into some of the main settings so what I'm gonna do is select my point light that I've already created or you can just create another one and then click it and in the details panel we can go through some of these settings so starting off from the very top the main one is our intensity that is essentially how bright our light is going to be now you can use these sliders to move this left or right to control the power or you can manually type in a number and if you have your mouse over this you can see an example of how you can define a number with real-world lighting so you can see here one thousand seven hundred lumens corresponds to a one 100 watt light bulb a 100 watt light bulb is what you're gonna use in a normal house so if you want that just drop in seventeen hundred just like that going on from there beneath that you have your light color if you select this this is going to give you a color picker and from there you can move around and play around with the color so if you want to make this light blue you can or green yellow purple red it's entirely up to you now one thing I do recommend when you're working with lights inside of Unreal Engine 4 is if you want them to be realistic do not turn your saturation up really high otherwise it just won't look realistic and you control things like your saturation down here and you can see what's just going to move it on your color picker but really what you need to do is just have a little experiment with this and get the color that you're after and I'm going to leave this one at a nice subtle blue and then the next one that you have underneath this is your attenuation radius and what this is is essentially how far your light is going to reach and as I move this up and down you can see this fear around my light is going to move so if I expand this our light will be able to go as far as the walls out here now what you will need to do to make this show up properly is also turn up your intensity your brightness but for now I'm just gonna leave this so it only goes about this fast you can see if I have it here it only goes this far on the rock and if I turn it up I can just stretch it out even more but what it doesn't do is change the brightness just the distance the light can reach to now what I'm not gonna do is go through all of these settings just the important ones having said that what I'm gonna do is skip down to the next setting which I'm gonna cover which is cast shadows so do you want this light to be able to cast shadows for example I've used this one here and we get this shadow up here that we don't like what you might want to do is turn this off just to make it look a little bit cleaner and then with that you have a bit more control over your lighting and that's pretty much everything that I wanted to cover for the settings for the point light moving on to the spotlight these settings are very similar you have your intensity your light color your shadows and all of that good stuff what you also have here is your inner cone angle and your outer cone angle and you can use this to control how wide your spotlight is or how Noro how narrow it is just to play around with that anyway guys that's pretty much everything that I wanted to cover for lighting in today's video I hope you do enjoy it to play around with some different types of lights as you can see I have done here but once again thanks for watching stay awesome keep creating your boy virtus signing out this video was made possible by my supporters on patreon if you want more videos like this check out my patreon page is the link in the description to stay up to date on new releases make sure you follow us on social media
Info
Channel: DevSquad
Views: 23,958
Rating: undefined out of 5
Keywords: Virtus Education, VirtusEdu, Unreal Engine 4, SDK, Tutorial Series, Level Design UE4, Beginner, Virtus Learning Hub, Epic Games, Level Design, Create a game map, Landscape, Advanced, Level Design Tutorial UE4, Unreal Engine 4 Level Design, Level Design Tutorial Series, Unreal Engine 4 Tutorial Series, Create Video Game Level, Level Editor, UE4, Edit, Content Browser, Assets, Static Mesh, Creating, Terrain, 3D Model, Lighting, Point Light, Sky Light, Directional Light, Light
Id: C0RiTilQv68
Channel Id: undefined
Length: 10min 17sec (617 seconds)
Published: Mon Jan 08 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.