# How to optimize the SW Rasterize (Triangle) of nanite in the scene 

**URL:** <https://forums.unrealengine.com/t/how-to-optimize-the-sw-rasterize-triangle-of-nanite-in-the-scene/2664397>\
**Category:** Programming & Scripting\
**Tags:** gpu, Optimization, unreal-engine, Nanite\
**Created:** [October 11, 2025, 1:56pm UTC](https://forums.unrealengine.com/t/how-to-optimize-the-sw-rasterize-triangle-of-nanite-in-the-scene/2664397 "2025-10-11T13:56:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![c\_ice\_y](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@c\_ice\_y](https://forums.unrealengine.com/u/c_ice_y)\
**Post date:** [October 11, 2025, 1:56pm UTC](https://forums.unrealengine.com/t/how-to-optimize-the-sw-rasterize-triangle-of-nanite-in-the-scene/2664397/1 "2025-10-11T13:56:58Z")

</div>

When I tried out the official PCG forest project: ElectricDreamsEvn, I noticed that its frame rate was extremely low.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/e/b3e5e05199a73ab8576681591b6f5f640e19084b.jpeg)  
The performance bottleneck issue mainly lies in the GPU. I conducted an analysis using profile gpu.

I found that the Nanite::Visbuffer Main Pass SW Rasterize(Triangles) operation takes an extremely long time. (All the meshes in the scene have enabled Nanite.)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/8/228169b33d89fb44ef599b2ae58cac6042967035.png)

I attempted to reduce the “keep triangle percentage” of the meshes, but after trying, I found that this setting did not result in any optimization.  
I suspect that it is because most of the materials in the scene are deformable materials, which have WPO and pixel offsett, resulting in this phenomenon. But I don’t know how to optimize it.And I would like to know why reducing the keep triangle percentage does not optimize the scene?
