Join Craig Barr for an in-depth discussion in this video Playback and performance settings, part of Unreal Essential Training.
- [Voiceover] In Unreal Engine 4, there are a couple things to keep in mind when optimizing performance for your project. Really quickly, we're going to go over some of these options in how you can work with monitoring your performance specifically for playback within the Editor. So, in our scene that we have here, there are a couple things that we might want to take a look at to make sure that we're getting the best performance while working away here in Unreal Engine 4. Now we have our viewport displayed here in the middle and there are a couple things that I should point out that actually can add to the expense, if you will, in processing your work while you have the Unreal Engine 4 Editor open.
One of the biggest things to keep in mind is that the Content Browser, as I mentioned many times before in this course, really is the core of where all of the data is stored. All of your assets, materials, everything that comprises the main assemblage of your entire project, of your entire game project overall, comprised of all of your scenes and everything that's important to build that overall project. Well the Content Browser can actually be a little bit intensive on processing data when you have one or more open.
In this case here, I have two of them open, so let's definitely close one of them down. So in playback, I may want to consider shutting down my Content Browser, and this will also help me maximize some of my viewport real estate here for playback. Now a couple other things to note. We have up here this Settings icon in the toolbar at the top of the viewport. If we click on that, we're going to see if we go down, there are a couple different options available in here related to our overall settings for our project. We have a specific Project Settings here, as well, if we open that up.
These are going to give you any specific things directly to your project that you're working with. In this case here, I'm working with this Beach project, I could go in and customize things like even my project thumbnail, if I wanted to change that and have a specific thing there, as well. And I could get into customized project ID's and descriptions to really help with organizing this overall scene. You'll notice there's a Publisher area here where I can put in my company name, and I could put in certain things like Home Page and Support Contact for your packaged up project as well.
Now let's go back into the Settings and go down to World Settings. If we click on that, right beside the Details tab, we're going to get this World Settings Details feature here. And all of these attributes and parameters all relate to your overall customization of your level. So this is looking at the overall level to provide settings to help you with performance, specifically around things like how you're going to package up your level and also the playback performance, as well. And you'll see everything in here like using ambient occlusion, for example, and generating ambient occlusion and all of these things can be adjusted here within your World Settings so this is an area you might want to talk a look at to see if changing any of the default settings will help you optimize your project here.
Some of the things to take note of are the number of indirect lights, for example, that you're going to be using, the amount of bounce related to the light quality within the scene. And scaling any of these things back can certainly help with the performance overall in your scene. Now, playing things back in the viewport within the Editor, here, some things that can help you with performance. Up on the top left corner, we'll see that we have the Show flag and these are all of the different common flags that are typically available within the viewport.
So some things to point out here for optimizing your performance, your playback settings here, if you ever need to preview something and you find your scene is a little bit intensive on playback, depending on your hardware configuration, there are a couple things you can do to help you optimize your playback in Editor so that you can get a good performance playback without having to see, maybe, all of the nice fancy things, for example, Anti-Aliasing that you might want in your scene. So this is where you can come in and actually shut down some of these options in here.
So if we shut off Anti-Aliasing and we can even shut off the fog if we wanted to, just for playback or preview within our scene, anything else that might get a little intensive on the playback of the scene, as well. For example, if we have a lot of Translucency throughout the scene, we can turn that off. Just to note, you'll see that the Translucency of the volume, represented by the particles, is not apparent in there but particles will still be calculated so we may want to turn off our Particle Sprite systems there. And all of these things can help with performance playback within the scene, as well.
Now, with that noted, I should make a point here that this is also a good filter, if you ever need to filter down specific things. So there I'm just seeing the landscape with any of the icons related to our other types of actors in there. And of course I could shut down the landscape completely if I didn't want to see that. So there's a real basic overview of optimizing your performance and your playback performance in your viewport within the Unreal Engine 4 Editor.
- Customizing the Unreal UI
- Creating a new project
- Creating landscapes
- Blocking out levels
- Assembling a scene
- Working with materials and lights
- Adding post-processing effects
- Defining bodies of water
- Adding atmospherics, foliage, and wind
- Working with the Blueprint editor
- Creating cinematics
- Monitoring performance
- Packaging a game for distribution