# RayTraced DistanceField Shadows on Mac OS X

**URL:** <https://forums.unrealengine.com/t/raytraced-distancefield-shadows-on-mac-os-x/349965>\
**Category:** Rendering\
**Tags:** Shadows, distance-fields, ray-traced-distance-, MAC, unreal-engine, Rendering, question\
**Created:** [March 8, 2016, 8:17pm UTC](https://forums.unrealengine.com/t/raytraced-distancefield-shadows-on-mac-os-x/349965 "2016-03-08T20:17:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shinkowski](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shinkowski](https://forums.unrealengine.com/u/shinkowski)\
**Post date:** [March 8, 2016, 8:17pm UTC](https://forums.unrealengine.com/t/raytraced-distancefield-shadows-on-mac-os-x/349965/1 "2016-03-08T20:17:51Z")

</div>

Hi,  
Are raytraced shadows supported on Mac?  
I have an iMac with a GeForce GTX 775M, I turned on “Generate Mesh Distance Fields” in the project settings and restarted the editor but when I visualise mesh distance fields, I don’t see any distance fields, the editor just displays the meshes normally but a bit brighter.  
Also, when I turn off dynamic shadows and turn on RayTraced DistanceField Shadows, I don’t see any shadows.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6888603d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6888603d](https://forums.unrealengine.com/u/anonymous_user_6888603d)\
**Post date:** [March 8, 2016, 8:33pm UTC](https://forums.unrealengine.com/t/raytraced-distancefield-shadows-on-mac-os-x/349965/2 "2016-03-08T20:33:10Z")

</div>

Unfortunately RayTraced DistanceField Shadows aren’t supported on Mac OS X yet. It is on my schedule to work on after the release of UE4 4.11 but I can’t promise when it will be available on OS X.

---

<div class="post-metadata">

**Author:** ![shinkowski](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shinkowski](https://forums.unrealengine.com/u/shinkowski)\
**Post date:** [March 8, 2016, 8:36pm UTC](https://forums.unrealengine.com/t/raytraced-distancefield-shadows-on-mac-os-x/349965/3 "2016-03-08T20:36:08Z")

</div>

Ok thank you for your quick reply.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6888603d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6888603d](https://forums.unrealengine.com/u/anonymous_user_6888603d)\
**Post date:** [March 8, 2016, 8:42pm UTC](https://forums.unrealengine.com/t/raytraced-distancefield-shadows-on-mac-os-x/349965/4 "2016-03-08T20:42:21Z")

</div>

No problem - edited to say ‘when’ rather than ‘if’ as support will be worked on - just not sure when it will be possible to get them working and enabled. Note that any such support will be limited to Metal - Mac OpenGL just doesn’t have the tools.

---

<div class="post-metadata">

**Author:** ![pyropace](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pyropace](https://forums.unrealengine.com/u/pyropace)\
**Post date:** [March 8, 2016, 9:18pm UTC](https://forums.unrealengine.com/t/raytraced-distancefield-shadows-on-mac-os-x/349965/5 "2016-03-08T21:18:27Z")

</div>

hi , will you be bypassing OpenGL all together with now Metal api ? I mean do you even need opengl any more ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6888603d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6888603d](https://forums.unrealengine.com/u/anonymous_user_6888603d)\
**Post date:** [March 8, 2016, 10:57pm UTC](https://forums.unrealengine.com/t/raytraced-distancefield-shadows-on-mac-os-x/349965/6 "2016-03-08T22:57:08Z")

</div>

Metal is a completely separate API so OpenGL isn’t involved when UE4 is running on Metal.

We won’t be removing OpenGL support from UE4 so far as I am aware because so many platforms a devices still use it, though Metal will eventually become the default graphics API for UE4 on Apple platforms.

---

<div class="post-metadata">

**Author:** ![pyropace](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pyropace](https://forums.unrealengine.com/u/pyropace)\
**Post date:** [March 9, 2016, 6:26pm UTC](https://forums.unrealengine.com/t/raytraced-distancefield-shadows-on-mac-os-x/349965/7 "2016-03-09T18:26:19Z")

</div>

Thank you for information , quick question, in UE4, is metal automatically detected on ios ? or do i need to set a flag to have my game use metal api for rendering? thus hoping for better performance

Thanks again
