Shader Complexity much higher when on primitive objects?!?

Hi,

I’m finding that when viewing the shader complexity view in UE5 editor, if I put the same material instance on a primitive object (plane, cube etc.) the shader cost is higher than when on a mesh.

The image below shows the same material instance on a plane (right) and a detailed road mesh (left). As you can see UE is saying it’s more expensive on a simple plane. If I use Virtual Textures the cost is even higher - The mesh is still bright green but the plane turns to red!

What’s going on here? I would have thought there would either be no difference or the simple primitive objects would be more performant.

Appreciate any thoughts!

Cheers!

You always have interesting questions!

By any chance is the road mesh Nanite and the primitive non-nanite?

Ah yes!! I tried the same mesh (but on a nanite and non-nanite version) and the difference is huge!! Thanks!