# Solution for outline material, with occlusion, that works with MSAA/Forward renderer?

**URL:** <https://forums.unrealengine.com/t/solution-for-outline-material-with-occlusion-that-works-with-msaa-forward-renderer/412292>\
**Category:** Rendering\
**Tags:** Post-Processing, msaa, custom-depth, Forward-Rendering, unreal-engine, question\
**Created:** [December 14, 2017, 11:49pm UTC](https://forums.unrealengine.com/t/solution-for-outline-material-with-occlusion-that-works-with-msaa-forward-renderer/412292 "2017-12-14T23:49:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MillhouseOne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MillhouseOne](https://forums.unrealengine.com/u/MillhouseOne)\
**Post date:** [December 14, 2017, 11:49pm UTC](https://forums.unrealengine.com/t/solution-for-outline-material-with-occlusion-that-works-with-msaa-forward-renderer/412292/1 "2017-12-14T23:49:43Z")

</div>

The common method for doing an occluded outline material involves comparing SceneDepth and CustomDepth in a post process material. Unfortunately, this method doesn’t work once you enable the forward renderer and use MSAA. More unfortunately, [the issue](https://issues.unrealengine.com/issue/UE-49851) has been flagged as “won’t fix.” The UE4 editor’s outline material still works so I believe there’s a solution out there somewhere.

Is there another solution that could work instead?
