AcademySoftwareFoundation / OpenPBR

Specification and reference implementation for the OpenPBR Surface shading model
Apache License 2.0
459 stars 18 forks source link

Enable diffuse energy compensation #201

Closed jstone-lucasfilm closed 4 months ago

jstone-lucasfilm commented 4 months ago

This changelist adds the energy_compensation setting to oren_nayar_diffuse_bsdf in the reference implementation for OpenPBR, leveraging the upcoming support for this feature in MaterialX 1.39.

In recent MaterialX TSC meetings, we've aligned on this naming convention for the new energy compensation feature in oren_nayar_diffuse_bsdf, and it now seems safe to move forward with this setting in OpenPBR v1.0.