Description

Meshes set to not render in the Main Pass still does if both "Render CustomDepth Pass" & "Render in Depth Pass" are enabled, while "Render in Main Pass" is disabled.

Attached is an example project. Look for ExampleCube if in the World Outliner.

Seems related to [Link Removed].

Found in 4.24.1 CL#10756747
Reproduced in 4.25 Main CL#10868506

Also mentioned in UDN: https://udn.unrealengine.com/questions/588114/rendering-main-pass-false-and-custom-depth-in-424.html

Steps to Reproduce

1. Place a cube in a scene.
2. Set the following settings in Rendering in the Static Mesh component.

  • Disable "Render in Main Pass"
  • Enable "Render in Depth Pass"
  • Enable "Render CustomDepth Pass"
    3. Look at the cube.

Result: The cube is rendered black regardless of material color in the Main Pass.

Expected: The cube is not rendered in the Main Pass.

Have Comments or More Details?

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

52
Login to Vote

Unresolved
ComponentUE - Graphics Features
Affects Versions4.24.14.25
Target Fix5.6
CreatedDec 25, 2019
UpdatedSep 5, 2024
View Jira Issue