# r.MaterialQualityLevel=1 breaks POM materials in packaged builds

**URL:** <https://forums.unrealengine.com/t/r-materialqualitylevel-1-breaks-pom-materials-in-packaged-builds/400700>\
**Category:** Rendering\
**Tags:** parallax, unreal-engine, bug-report, Rendering, question\
**Created:** [July 26, 2017, 12:41pm UTC](https://forums.unrealengine.com/t/r-materialqualitylevel-1-breaks-pom-materials-in-packaged-builds/400700 "2017-07-26T12:41:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joshua\_NZ](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joshua_nz/32/918677_2.png) [@Joshua\_NZ](https://forums.unrealengine.com/u/Joshua_NZ)\
**Post date:** [July 26, 2017, 12:41pm UTC](https://forums.unrealengine.com/t/r-materialqualitylevel-1-breaks-pom-materials-in-packaged-builds/400700/1 "2017-07-26T12:41:26Z")

</div>

Hi,

After much investigation I have found an issue with the command r.MaterialQualityLevel.

I use the sg.EffectsQuality scalability commands. I looked inside BaseScalability.ini inside the engine and ran each command trying to find the one which causes the POM render issue. I found that r.MaterialQualityLevel=1 is the issue.

When a packaged game has run r.MaterialQualityLevel=1 before loading into a level any materials with POM will not render at all.

**r.MaterialQualityLevel=1**

[http://i.imgur.com/IZzvtAQ.jpg](http://i.imgur.com/IZzvtAQ.jpg)

**r.MaterialQualityLevel=0**

[http://i.imgur.com/21a9TfX.jpg](http://i.imgur.com/21a9TfX.jpg)

**r.MaterialQualityLevel=2**

[http://i.imgur.com/FfHDVEJ.jpg](http://i.imgur.com/FfHDVEJ.jpg)

**And here are 2 materials which go blank with this setting:**

[http://i.imgur.com/Qb1XaNR.png](http://i.imgur.com/Qb1XaNR.png)

[http://i.imgur.com/7g1Kri0.png](http://i.imgur.com/7g1Kri0.png)

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [July 26, 2017, 2:05pm UTC](https://forums.unrealengine.com/t/r-materialqualitylevel-1-breaks-pom-materials-in-packaged-builds/400700/2 "2017-07-26T14:05:21Z")

</div>

There is a quality setting switch inside POM node. You can rewire it as suitable for your project.

---

<div class="post-metadata">

**Author:** ![TomShannon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tomshannon/32/1145428_2.png) [@TomShannon](https://forums.unrealengine.com/u/TomShannon)\
**Post date:** [August 8, 2017, 8:56pm UTC](https://forums.unrealengine.com/t/r-materialqualitylevel-1-breaks-pom-materials-in-packaged-builds/400700/3 "2017-08-08T20:56:14Z")

</div>

I’m seeing this same behavior in Packaged builds in 4.15  
If I call the r.materiallevel function, it seems to fix the shader and I can return to the higher quality levels.  
I wonder if this is tied to the Enable Static Lighting switch in the game settings?

---

<div class="post-metadata">

**Author:** ![Joshua\_NZ](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joshua_nz/32/918677_2.png) [@Joshua\_NZ](https://forums.unrealengine.com/u/Joshua_NZ)\
**Post date:** [September 18, 2017, 9:54am UTC](https://forums.unrealengine.com/t/r-materialqualitylevel-1-breaks-pom-materials-in-packaged-builds/400700/4 "2017-09-18T09:54:39Z")

</div>

Still occurring in 4.17.2.

---

<div class="post-metadata">

**Author:** ![Feas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/feas/32/921368_2.png) [@Feas](https://forums.unrealengine.com/u/Feas)\
**Post date:** [October 20, 2024, 5:55am UTC](https://forums.unrealengine.com/t/r-materialqualitylevel-1-breaks-pom-materials-in-packaged-builds/400700/5 "2024-10-20T05:55:42Z")

</div>

Hi, I have Ue5.3 and this problem is still present, but it happened to me with regular material, not POM. Possible solution is to set r.MaterialQualityLevel=0 or 2 in the level drawing in Begin play, and then do a check and if the graphics level is set to ultra or high, then set r.MaterialQualityLevel=1.
