# Material Quality Switch behaves inconsistently with Distance Field logic

**URL:** <https://forums.unrealengine.com/t/material-quality-switch-behaves-inconsistently-with-distance-field-logic/2738169>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, open, fortnite\
**Created:** [July 24, 2026, 4:41pm UTC](https://forums.unrealengine.com/t/material-quality-switch-behaves-inconsistently-with-distance-field-logic/2738169 "2026-07-24T16:41:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Volviik](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/volviik/32/1040867_2.png) [@Volviik](https://forums.unrealengine.com/u/Volviik)\
**Post date:** [July 24, 2026, 4:41pm UTC](https://forums.unrealengine.com/t/material-quality-switch-behaves-inconsistently-with-distance-field-logic/2738169/1 "2026-07-24T16:41:20Z")

</div>

### Summary

Material Quality Switch works correctly in simple test cases.

However, when the output of a material containing DistanceToNearestSurface or DistanceFieldGradient is routed through a Material Quality Switch, the switch no longer behaves consistently.

Instead of evaluating the selected quality branch, the material continues to evaluate the Distance Field logic, making it impossible to build a reliable fallback for unsupported quality levels.

### Please select what you are reporting on:

Unreal Editor for Fortnite

### What Type of Bug are you experiencing?

World Building

### Steps to Reproduce

-Create a material using DistanceToNearestSurface or DistanceFieldGradient.  
-Build any material logic that depends on these nodes.  
-Multiply the entire material output by a Material Quality Switch and Set:  
Low = Blue  
Epic = Red

-Apply the material to a mesh.  
-Launch the project using both Low and Epic graphics settings.

### Expected Result

On Low graphics settings, the material should evaluate the Low branch of the Material Quality Switch, producing a blue output.

The Distance Field logic should effectively be excluded from the final material.

### Observed Result

Although the same Material Quality Switch works correctly in a simple color-only test, it becomes inconsistent once Distance Field logic is involved.

When the entire Distance Field material is routed through the switch, the output remains Red even on Low graphics settings.

As a result, there is currently no reliable way to use Material Quality Switch to create a fallback for materials relying on Distance Fields.

### Platform(s)

windows

### Island Code

N/A

### Upload an image

 ![EpicSettingTest with distance field.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/4/c547e67e5723504dab51ab03711c5dd61a8b7503.png) ![LowSettingTest with distance field.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/2/da2eab68418340910fadb59669252a619a59e451.png)

### 

 ![TestWithQualitySwitch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/1/f01ccda64fb53cadbbba615c40b415e83547304f.png)

### Additional Notes

If needed, I can provide the full material graph or a simplified reproduction project to help investigate the issue.

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [August 10, 2026, 4:01pm UTC](https://forums.unrealengine.com/t/material-quality-switch-behaves-inconsistently-with-distance-field-logic/2738169/4 "2026-08-10T16:01:14Z")

</div>

FORT-1129845’s status has changed to ‘Ready for QA’. A member of the QA department is investigating the issue.
