25 tips for Unreal Engine 4

19. Editing bloom and lens flares

Unreal Engine 4

Lens flares can be customised to create your desired effect

Image bloom and lens flares post processing has become popular in games and 3D and can be enabled and customised in UE4 using post-process volumes. Bloom can be highly customised in almost every sense. Size, colour, intensity, and threshold can all be tweaked and even be used to mask in dirt textures to mimic dirty lenses. Similarly, image- based lens flares can also be enabled and their shapes and intensity adjusted.

20. Creating depth of field

Unreal Engine 4

Creating depth of field is a delicate process where foliage is concerned

Unreal 4 supports both gaussian and custom shaped bokeh depth of field. Both of these options exist within the settings of Post Process Volumes. It should also be noted that while bokeh sprite weighting exists to help with blurring thin objects in front of distant objects and vice versa, problems can sometimes still occur. Care should be taken when applying depth of field to foliage and other similar shots.

21. Auto exposure and eye adaptation

Unreal Engine 4

Auto exposure mimics real life eye adjustments

Auto exposure control is on by default and simulates eye adjustment to bright or dark areas. The effect is awesome but can create constantly changing visual variables that are hard to stay consistent within. Adjustments to the exposure range can be made in the settings of post-process volumes and can be disabled by setting the minimum brightness equal to the maximum. Exposure bias can be used to adjust base exposure settings.

22. Light functions

Unreal Engine 4

Light functions can create custom colour variations

One fun feature when lighting in Unreal 4 is the support of light function materials. These materials act as masks for the light and can be used to make anything from custom colour variation in a light to cloud shadows on the ground. They are made by setting the Material Domain to Light Function in the Material Editor and can be used on spot, point, and directional lights.

23. Save yourself time by copying and pasting

Unreal Engine 4

Unreal 4 can copy and paste any object between levels

One fantastic trick to know about Unreal 4 is that any object in a level can be copied and pasted directly into another level within the same project. It will appear with the same properties and in the same location. What's even better is that anything copied from Unreal can be pasted into a text document. That text can then be copied and re-pasted into another Unreal 4 level.

24. View modes and buffer visualisations

Unreal Engine 4

Toggling between view modes can track level wide ranges of material inputs

Knowing what makes up your image is an integral part of working in any 3D engine and working in a deferred renderer like UE4 allows for some useful view modes. Pressing Alt and 1-8 switches between various view modes like Unlit or lighting only but if you click on the View Mode button in the Viewport you can view individual buffers. This can be useful for seeing level wide ranges of material inputs, like roughness.

25. Performance tips

Unreal Engine 4

Turning down certain options can speed up workflows

While Unreal is incredibly powerful, not every workstation is created equally. If you are running into performance problems in-engine, the first place to turn is the Engine Scalability Settings within the Setting button on the Editor Toolbar. Turning down some options like anti-aliasing can really speed things up when working. Another trick is to organise large groups of assets into folders in the world outliner. You can then toggle their visibility to help with performance.

This article was originally published in 3D World magazine issue 197.

Read more: