Optimization

The optimization tab contains powerful custom optimization options for use within Unreal Engine.

The Optimization Tab inside the In-Editor Toolkit contains powerful custom optimization solutions for use within Unreal Engine. Utilize these custom options to heavily speed up development workflows.

Each Optimization method is self contained within the cards. For example, if you setup the setting in both the Level of Detail and Decimate cards and click the Apply button in Decimate, it will only apply the Decimate optimization method.

  • Optimization methods are ONLY applied to the selected actors in the world.

  • Avoid using optimization methods on the whole level at once. Unreal may become unstable if the resources on the computer are not up to par.

Optimizations can be reverted by pressing Ctrl + Z

Smart Optimization Methods

All smart and preset options found within the Optimization Methods are custom algorithms finely tuned to optimize based on industry standard criteria. These are intended to help out individuals whom may be new to Unreal Engine and scene optimization in general, or to heavily speed up advanced user workflows.

These options have been heavily used by the services team here at Theia Interactive and have sped up the development speed by multiple magnitudes.

These options may or may not provide ideal results depending on many unknown factors.

Help improve the smart optimization results by providing testable files to our development team. You can do so by opening up a ticket.

Clustered Merge

The Clustered Merge optimization method utilizes clustering algorithms to strategically merge static meshes together.

Radius Method

Cluster based on the radius of each static mesh actor with each other.

Quadrants Method

Cluster based on automatically calculated quadrants.

Usage

Vastly improve workflow speeds by optimizing your levels with clustered merging. Use clustered merging to reduce the overall amount of static meshes and draw calls.

Options

Option

Description

Method

Choose between the radius or quadrant cluster methods

Max Meshes Per Merge

The max number of static meshes to merge into a single static mesh

Radius

The radius (in centimeters) around the static meshes to calculate for the cluster. (Radius method only)

Quadrant Count

The number of quadrants to calculate. (Quadrant method only)

Preview

Toggle between displaying the clustered preview or not

The advanced options are base merging options that can be largely ignored unless you know what you're doing. You can find more information here regarding their uses.

User Interface

Example

Level of Detail

The Level of Detail (LoD) optimization method provides a mixture of different options to quickly and effectively optimize static meshes.

Usage

Use this optimization option to remove the multitude of unneeded extra steps it takes to apply level of details to static meshes.

  • Utilize the Smart option to automatically generate the ideal number of LoD's along with adequate settings.

  • Utilize the preset option to quickly apply Unreal LoD presets to the selected static meshes.

  • Utilize the Custom option to quickly apply custom LoD's to the selected static meshes.

Options

Option

Description

Preset

Choose between Smart, Unreal Based Preset, or custom

Combo Box

Select from base Unreal level of detail presets

Screen Size

Adjust the screen size percentage for when the lod should load. For each additional LoD generated, this percent is cut in half.

Number of LoD's

The total amount of LoD's to generate.

Reduction Percent

The percent reduction in vertices to reduce per LoD generated.

Remove

Removes the LoD's from the selected static meshes.

User Interface

Decimate

The Decimate optimization method provides an easy and non-destructive method to reduce amount of triangles/vertices of the selected static meshes.

Usage

Use this optimization method to quickly reduce extremely triangle heavy static meshes. Ideal to match this with the Vertices Selection Method.

  • Utilize the Smart method to automatically calculate the ideal reduction amount. Size and triangle count are factors in this calculation.

  • Utilize the Fixed method to flatly reduce the triangle by the given percentage

Options

Option

Description

Method

Choose between the Smart or Fixed decimation method

Reduction Percent

The amount of triangles to reduce the static mesh by. (Fixed method only)

Remove

Removes the decimation from the selected static meshes

User Interface

Lightmap Resolution

The Lightmap Resolution optimization method provides an easy and effective method to adjust lightmap resolutions to the selected static meshes.

Usage

Use this optimization option to easily apply ideal lightmap resolutions to the static meshes within the level without all of the extra hassle involved. The low, medium, and high lightmap resolution options will do the majority of the work for you.

Options

Option

Description

Preset

Chooses between one of the Smart presets, or to provide custom values

Resolution

Select a power of 2 lightmap resolution to apply to the selected static meshes.

Override

Choose to apply the lightmap resolution as an override on the static mesh actors. Otherwise, the lightmap resolutions will be applied to the static meshes themselves.

Use Actor Scale

Utilizes the actors scale as a factor in calculating the lightmap resolution. (Only available when Override is enabled)

User Interface

Remove Overlapped Meshes

The Remove Overlapped Meshes optimization method provides an easy method to remove all static meshes that 100% overlap each other.

This has been a highly request feature.

Usage

Use this optimization option to effectively find and remove all hidden overlapped meshes.

User Interface

Jacket

The Jacket optimization method provide quick access to Unreal Engine's build in jacketing tool. This tool removes fully hidden geometry.

This is a resource intensive task.

Usage

Use this optimization method to remove hidden and completely unnecessary geometry. For example, use this to remove the engine of a car if the engine will never be visible.

Options

Option

Description

Accuracy

How sensitive the occlusion tests are (in centimeters).

Max Distance

The max size (in centimeters) of the gaps to account for occlusion testing.

User Interface

Defeature

The Defeature optimization method provides quick access to Unreal Engine's build in defeaturing tool. This tool helps simplify complex meshes by removing unneeded holes and protrusions.

Usage

Use this optimization method to remove holes and protrusions, resulting in a more real-time optimized static mesh.

Options

Option

Description

Holes

Enables hole detection along with expanding additional hole detection options.

Blind Holes

Enables blind hole detection along with expanding additional blind hole detection options.

Protrusions

Enables protruding geometry detection along with expanding additional protrusion options.

Max Diameter

The maximum diameter to detect.

Max Depth

The maximum hole depth to detect.

Max Height

The maximum protruding height to detect.

User Interface