Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2021.1] Fix depth logic in renderer (Case 1364121) #5667

Merged
merged 1 commit into from
Sep 20, 2021

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
2 participants