Exploring different optimization techniques
In this section, we will explore a different optimization technique that can be implemented within the PCG framework. We will start by focusing on geometry and its properties, using this understanding to introduce various options for enhancing the project’s framerate performance. Mesh geometry plays a crucial role in the PCG plugin in Unreal Engine 5.
Optimization, complexity, and performance
Using simpler meshes can improve performance as they require fewer calculations. This is ideal for large-scale procedural generation where performance is a concern. With a simple mesh, you can achieve up to 120 FPS, ensuring stable performance throughout the entire gameplay. The following is an example where the PCG uses foliage meshes with the lowest polycount polygons.
Figure 10.1 – Using a simple mesh for the PCG setup
Figure 10.2 shows the basic meshes available in the Plugins
folder for the PCG framework...