-
Notifications
You must be signed in to change notification settings - Fork 839
Fix to render depth or depth/normal of waving grass #4097
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% sure what the bug is that this PR is trying to fix. Would be nice to get that info in the description.
With a PR that got introduced today, we now have a WavingGrassDepthNormalsPass.hlsl
file with the DepthNormals passes, which also need to be looked at.
In the same PR, four test scenes were added in the Terrain Project to test depth & normals (Forward & Deferred). Can we expand on that and include some testing for this in order to avoid any breakages in the future?
@ellioman Thanks for letting me know about In case of detail checked as billboard, depth prepass of waving grass didn't work and I tried frame debugger to check if the prepass worked. the prepass was called but depth didn't appear in depth texture.(depth normal is also the same)
here are the comparison [before adding [after adding |
Adding @russoh for terrain review |
I'll loop in terrain team for a review, would be good to have somebody from the team, look over this. |
would it be possible to cover what Elvar brought up regarding tests?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes logically look sane to me, but I agree with other sentiments that we should probably add a test that would fail an image comparison if those changes were subsequently stripped out again. Also, do we have any larger terrain + grass demos that can be used to validate against?
@Seongdae please ping reviewers for another look. |
Should I handle the tests of terrain and does it allow me to add scenes for comparing with detail shadows? |
What's the status on this PR @Seongdae ?
And then we also have two other test scenes for Depth, I believe 200. |
Hi! This comment will help you figure out which jobs to run before merging your PR. The suggestions are dynamic based on what files you have changed. URP Depending on the scope of your PR, you may need to run more jobs than what has been suggested. Please speak to your lead or a Graphics SDET (#devs-graphics-automation) if you are unsure. |
@ellioman this is to fix depth/normals of billboard grass, but there is no billboard grass in the test scenes you told me. Should I add billboard grass to the scenes? |
@Seongdae |
Add comment and a keyword for forward-only variant
Checked it in the terrain test scenes @ellioman told me, and also update the reference images now. I'm waiting for Yamato, but there seem to be an issues in the current test environment. |
The tests related to Terrain were passed now. |
* master: Add missing shader stages in shader keyword copying (#6008) [Yamato] Add all DX11 job for URP (#6075) [HDRP] Add more performance test coverage (#5814) Fix templates ISO date (#6073) Fix division by 0 when AO is 0 (#6078) Fixed grammar errors (#6077) [HDRP][Path Tracing] Improved robustness of the stacklit material (#6066) [APV] Cell streaming system (#5731) Update revision for URP update test project (#6061) [HDRP][Path Tracing] Camera ray misses now return a null value with Minimum Depth > 1 (#6067) Renable missing test (Lens Flare) (#5456) [HDRP][Path Tracing] Added proper support for interleaved tiling (#5953) Fix to render depth or depth/normal of waving grass (#4097) Remove ScreenSpaceShadowResolvePass (#6002) [HDRP][Docs] Update docs with RendererList related option (#6031) Layer drawer used in ray/path tracing now matches 100% with camera's. (#5956) Fix iridescence tooltip (#5950) [HDRP] Change RenderGraph Begin/Execute function pattern to avoid leaks (#5929) [HDRP] Fix errors when switching build targets in editor (#5918) Generate a material as a subasset for ShaderGraphs (#5795)
Checklist for PR maker
need-backport-*
label. After you backport the PR, the label changes tobackported-*
.CHANGELOG.md
file.Purpose of this PR
Fix to render depth of waving grass in depth prepass
Testing status
Add new terrain
Add detail billboard grass
Bush detail where you want to check
Comments to reviewers
It wasn't working to draw depth of waving billboard grass to depth texture