Description

Setting a custom stencil on meshes is not working when using a mobile renderer. This is working as expected in 4.20 CL# 4369336

Found in 4.21 CL# 4541578 and 4.22 CL# 4556068

This is a regression

Steps to Reproduce
  1. Open the editor
  2. Go to project settings and enable Custom Depth-Stencil Pass to "Enabled with Stencil"
  3. Place a basic shape in the level
  4. Enable "Render Custom-Depth Pass" and set the stencil to 1
  5. Create a post process material to output the custom stencil scene texture

(Note that using the buffer visualizer for custom stencil won't work, as the texture is stored differently in the mobile renderer, and it won't show up correctly here)

Results:
The shape will not show up under the custom stencil pass when using ES3.1

Expected:
The shape would show up 

 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-66502 in the post.

7
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.214.22
Target Fix4.22
Fix Commit4567493
Main Commit4626501
Release Commit4862694
CreatedNov 14, 2018
ResolvedNov 15, 2018
UpdatedSep 16, 2019