Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Landscape CustomDepth Pass not working on IOS Device


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+

Product Version: UE 4.18
more ▼

asked Dec 02 '17 at 11:35 AM in Bug Reports

avatar image

21 1 1

avatar image Jon X ♦♦ STAFF Dec 04 '17 at 09:45 PM

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.

avatar image Jon X ♦♦ STAFF Dec 07 '17 at 09:52 PM

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.

avatar image danbient Dec 08 '17 at 09:16 AM

Dear Jon 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 alt text

CustomDepth Pass option : On alt text

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hi, Jon 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. alt text

I changed like this.. alt text

Now the outline problem was solved on IPhone6+.

Thanks your support. Have a nice day. :)

before.png (111.1 kB)
after.png (124.3 kB)
more ▼

answered Dec 22 '17 at 03:12 AM

avatar image

21 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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).

more ▼

answered Dec 11 '17 at 03:16 PM

avatar image

Jon X ♦♦ STAFF
810 3 4 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question