-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Solari fixes #21747
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
base: main
Are you sure you want to change the base?
Solari fixes #21747
Conversation
| let props = unpack4x8unorm(gpixel.b); | ||
| let reflectance = vec3(props.r); | ||
| let metallic = props.g; | ||
| let metallic = saturate(props.g); // TODO: Not sure why saturate is needed here to prevent NaNs |
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.
Might be something wrong with our gbuffer encoding? @DGriffin91
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.
Seems like any bit pattern of gpixel.b should be valid in respect to metallic. It seems sus if unpack4x8unorm is returning something that's not 0.0..=1.0
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.
Yeah idk
Uh oh!
There was an error while loading. Please reload this page.