Skip to content

Conversation

@ellioman
Copy link
Contributor

Purpose of this PR

This PR fixes case 1364121.

The problem is that even though a ScriptableRenderPass has been configured to require depth the renderer would not always add a DepthPrepass/CopyDepthPass. This issue was fixed in #3926 which landed in 2021.2.

In this PR I'm extracting the fix done in #3926 inside UniversalRenderer and redoing it in ForwardRenderer for 2021.1.

Testing status

What has been tested

  • Tested locally in the Editor (Mac)

@ellioman ellioman requested review from a team as code owners September 15, 2021 12:29
@ellioman ellioman merged commit 7a58c69 into 2021.1/staging Sep 20, 2021
@ellioman ellioman deleted the 2021.1/fix-depth-logic-in-renderer branch September 20, 2021 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants