Skip to content

Conversation

sfriedmapixar
Copy link
Contributor

Description

The backfacing shadeop now directly accesses the backfacing field on the shader globals rather than calculating it from N and I.

Tests

This updates the shader-globals-needed query to reflect that change.

Checklist:

  • I have read the contribution guidelines.
  • I have updated the documentation, if applicable.
  • I have ensured that the change is tested somewhere in the testsuite (adding new test cases if necessary).
  • My code follows the prevailing code style of this project. If I haven't
    already run clang-format v17 before submitting, I definitely will look at
    the CI test that runs clang-format and fix anything that it highlights as
    being nonconforming.

The backfacing shadeop now directly accesses the backfacing field
on the shader globals rather than calculating it from N and I.
This updates the shader-globals-needed query to reflect that
change.

Signed-off-by: Stephen Friedman <sfriedma@pixar.com>
Copy link
Collaborator

@lgritz lgritz left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@lgritz lgritz merged commit b284a8b into AcademySoftwareFoundation:main Jun 10, 2024
lgritz pushed a commit to lgritz/OpenShadingLanguage that referenced this pull request Jun 24, 2024
…ded (AcademySoftwareFoundation#1827)

The backfacing shadeop now directly accesses the backfacing field
on the shader globals rather than calculating it from N and I.
This updates the shader-globals-needed query to reflect that
change.

Signed-off-by: Stephen Friedman <sfriedma@pixar.com>
chellmuth pushed a commit to chellmuth/OpenShadingLanguage that referenced this pull request Sep 6, 2024
* fix: reparameter string needed to be ustringhash (AcademySoftwareFoundation#1841)
* fix: make backfacing shadeop indicate backfacing shader-global is needed (AcademySoftwareFoundation#1827)
* Fix the subsurface_bssrdf parameters (AcademySoftwareFoundation#1823)
* Implement OpenPBR's sheen BRDF in testrender (AcademySoftwareFoundation#1819)
* cleanup: OIIO deprecations (AcademySoftwareFoundation#1834)

See merge request spi/dev/3rd-party/osl-feedstock!61
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.

2 participants