-
Notifications
You must be signed in to change notification settings - Fork 865
[HDRP][DXR] Remove Custom Interpolators from SpeedTree8 Graph to support raytracing #6370
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
|
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. HDRP 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. |
TomasKiniulis
left a comment
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.
Thanks for the change! I tried the fix applied in Xpipeline Village and it worked nicely - as mentioned in the PR, had no additional issues on rasterization side and trees were properly shaded in pathtracing.
|
@remi-chapelain reverted the PR as something bad have happen with various error message and something about exceeding variant limit. I will redo one |
Purpose of this PR
PR fixes the issue of black tree in the pathtracer. See GIF

The issue comes from the fact that the graph uses custom intepolators to pass data (normals, tangeants, bitangenats) through the vertex stage to the fragment stage. Custom intepolators are not supported in raytracing so it fails. Atfer talking with multiple people, no one saw the addition of using custom interpolators so they have been removed to support raytracing by default.
Here's the old and new graph.

Before
After

Testing status
Comments to reviewers