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

APPLE: Protect IBL convolution from NaNs in textures #2383

Merged

Conversation

creijon
Copy link
Contributor

@creijon creijon commented Apr 7, 2023

Description of Change(s)

On Apple platforms with the Metal port of Storm, any NaNs in the input dome light textures will propagate through the IBL convolution calculation and cause completely black lighting. on these channels.

This doesn't seem to be a problem with openGL, but it's a small change that shouldn't have a performance hit.

Fixes Issue(s)

  • Incorrect lighting when NaNs are present in input texture to dome lights.
  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@creijon creijon changed the base branch from release to dev April 7, 2023 16:55
@sunyab
Copy link
Contributor

sunyab commented Apr 10, 2023

Filed as internal issue #USD-8218

@creijon creijon force-pushed the jon/dev/protect_ibl_nan branch 2 times, most recently from 97cd949 to 2c46da6 Compare April 16, 2023 07:36
@creijon creijon force-pushed the jon/dev/protect_ibl_nan branch 2 times, most recently from 9434f74 to 291c7f2 Compare May 13, 2023 05:44
@creijon creijon force-pushed the jon/dev/protect_ibl_nan branch 2 times, most recently from 067cc68 to 0749280 Compare June 12, 2023 13:30
@jesschimein
Copy link
Contributor

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pixar-oss pixar-oss merged commit 0390758 into PixarAnimationStudios:dev Jun 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants