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.2] Fixing a shadow artefact on Terrain Detail objects #4447

Merged
merged 4 commits into from May 27, 2021

Conversation

ellioman
Copy link
Contributor

@ellioman ellioman commented May 5, 2021

Purpose of this PR

This PR fixes an issue with Shadow Artefacts appearing between cascades on Terrain Detail objects.

This video shows the Before/After difference
https://user-images.githubusercontent.com/225349/117161557-4bafb880-adc2-11eb-96ac-e3f806524b39.mov

What has been tested

Tested manually in the editor

Comments to reviewers

This is the same fix done in #112 except now in TerrainDetailLitPasses.hlsl.

@ellioman ellioman requested review from a team as code owners May 5, 2021 14:57
@github-actions
Copy link

github-actions bot commented May 5, 2021

It appears that you made a non-draft PR!
Please convert your PR to draft (button on the right side of the page)
and cancel any jobs that started on Yamato.
See the PR template for more information.
Thank you!

Copy link

@erikabar erikabar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

# Conflicts:
#	com.unity.render-pipelines.universal/CHANGELOG.md
#	com.unity.render-pipelines.universal/Shaders/Terrain/TerrainDetailLitPasses.hlsl
@ellioman
Copy link
Contributor Author

The yamato failure is known and already present on Master

@ellioman ellioman merged commit 5267385 into master May 27, 2021
@ellioman ellioman deleted the universal/terrain/terrain-detail-bugfix branch May 27, 2021 13:03
@nigeljw-unity
Copy link
Contributor

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants