# Shader Complexity much higher when on primitive objects?!?

**URL:** <https://forums.unrealengine.com/t/shader-complexity-much-higher-when-on-primitive-objects/1273763>\
**Category:** Blueprint\
**Tags:** unreal-engine, Rendering, Blueprint, question\
**Created:** [August 26, 2023, 11:13pm UTC](https://forums.unrealengine.com/t/shader-complexity-much-higher-when-on-primitive-objects/1273763 "2023-08-26T23:13:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HappyKat100](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HappyKat100](https://forums.unrealengine.com/u/HappyKat100)\
**Post date:** [August 26, 2023, 11:13pm UTC](https://forums.unrealengine.com/t/shader-complexity-much-higher-when-on-primitive-objects/1273763/1 "2023-08-26T23:13:50Z")

</div>

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!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/2/7827e0ccc3abc4c3d93406ad8f8fa4c0a863b0bd.png)

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [August 26, 2023, 11:22pm UTC](https://forums.unrealengine.com/t/shader-complexity-much-higher-when-on-primitive-objects/1273763/2 "2023-08-26T23:22:48Z")

</div>

You always have interesting questions!

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

---

<div class="post-metadata">

**Author:** ![HappyKat100](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HappyKat100](https://forums.unrealengine.com/u/HappyKat100)\
**Post date:** [August 27, 2023, 12:19am UTC](https://forums.unrealengine.com/t/shader-complexity-much-higher-when-on-primitive-objects/1273763/3 "2023-08-27T00:19:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [September 26, 2023, 12:19am UTC](https://forums.unrealengine.com/t/shader-complexity-much-higher-when-on-primitive-objects/1273763/4 "2023-09-26T00:19:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
