Landscape CustomDepth Pass not working on IOS Device

Hi,

I’m using post process shader which draws outline from Stylized Rendering Materials project. I tested it works fine on Android and iOS device, but CustomDepth Pass doesn’t work only on iOS device. I checked Render CustomDepth Pass option of landscape but it still draws outline on the landscape.

I need some help. Thank you.

I tested with Unreal 4.18 and Iphone 6+

Thank you for your report. We will begin investigation into this issue as soon as possible. If we are unable to reproduce the problem, or need more information, we will follow up with some additional questions for you. Otherwise, we will post an ‘Answer’ once the issue has been logged in our bug database or we have a solution for it.

Are you able to provide some additional details about your project? Some screen shots of how you have your PP and materials set up, as well as images showing the “expected” result and the actual result you are getting would help.

Also, are you able to reproduce this issue in a new project? Please provide some simple steps to reproduce the issue so that we can investigate.

Dear X,

Thanks for your answer.

Open the Stylized Rendering demo project of Epic Games. ‘M_PostProcess_Base’ is the shader that I want to use. It draws outline.

CustomDepth Pass option : Off

CustomDepth Pass option : On

I don’t want draw outline on the landscape. So I checked CustomDepth Pass option then I launched the sample project to Android and iPhone. Android works fine but iOS still draws outline.

Thank you.

In this scenario, the CustomDepth Pass checkbox is most likely not supported on specific mobile devices. You should be modifying the material to achieve the results you are looking for (to not have an outline).

Hi, X

Sorry for late response.

I had googled for several days and changed code, so it is working now.

This is original code of M_PostProcess_Base material of Stylized Rendering sample project.

I changed like this…

Now the outline problem was solved on IPhone6+.

Thanks your support. Have a nice day. :slight_smile: