# Colour Vision Deficiency setting doesn't work in compiled iOS

**URL:** <https://forums.unrealengine.com/t/colour-vision-deficiency-setting-doesnt-work-in-compiled-ios/467425>\
**Category:** Mobile\
**Tags:** broken, unreal-engine, bug-report, iphone, question\
**Created:** [June 29, 2020, 8:38pm UTC](https://forums.unrealengine.com/t/colour-vision-deficiency-setting-doesnt-work-in-compiled-ios/467425 "2020-06-29T20:38:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuck\_compiling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stuck\_compiling](https://forums.unrealengine.com/u/stuck_compiling)\
**Post date:** [June 29, 2020, 8:38pm UTC](https://forums.unrealengine.com/t/colour-vision-deficiency-setting-doesnt-work-in-compiled-ios/467425/1 "2020-06-29T20:38:49Z")

</div>

Everything works as intended in the editor and when running as a standalone process with iOS Metal preview. The compiled thing running on an actual iPhone, however, doesn’t have the correction. What could be the possible reasons?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_71607b28](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_71607b28](https://forums.unrealengine.com/u/anonymous_user_71607b28)\
**Post date:** [April 16, 2021, 8:22pm UTC](https://forums.unrealengine.com/t/colour-vision-deficiency-setting-doesnt-work-in-compiled-ios/467425/2 "2021-04-16T20:22:43Z")

</div>

You have to remove:

```
// Don't do color correction on iOS or Android, we don't have the GPU overhead for it.
#if !(PLATFORM_IOS || PLATFORM_ANDROID)

```

from SlateRHIRenderingPolicy.cpp

---

<div class="post-metadata">

**Author:** ![stuck\_compiling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stuck\_compiling](https://forums.unrealengine.com/u/stuck_compiling)\
**Post date:** [April 16, 2021, 8:36pm UTC](https://forums.unrealengine.com/t/colour-vision-deficiency-setting-doesnt-work-in-compiled-ios/467425/3 "2021-04-16T20:36:32Z")

</div>

Since making this question, I just made a palette system: In blueprints, I store the colour values for things that are important to distinguish by colour - depending on settings in-game, they change to pre-selected values. This could also be done with global material parameters, even with static materials. Way better than a fullscreen effect that applies to everything, and introduces more control and better results.
