Add emission_weight
Implements the change described in https://github.com/AcademySoftwareFoundation/OpenPBR/issues/229.
~~emission_weight luminance~~ emission_luminance needs to default to 1000 in both the text and the parametrization table.
emission_weightluminance needs to default to 1000 in both the text and the parametrization table.
Ah right, I see the parameter list still has a luminance default value of 0 (assuming you meant emission_luminance, not emission_weight).
If we have two parameters, indeed, one of them must have a default value different from 0.
The default value 1000 sounds reasonable to me since it's the order of magnitude of the maximum luminance of typical displays screens (smartphones and TVs).
This looks fine to me, though it would be ideal to update the reference implementation in sync with this change, so that we don't accidentally create divergence between them.
This looks fine to me, though it would be ideal to update the reference implementation in sync with this change, so that we don't accidentally create divergence between them.
Done in https://github.com/AcademySoftwareFoundation/OpenPBR/pull/231/commits/eed50221cb278fb03eb30d1ae9937ad52044000a
@jstone-lucasfilm can be merged?
@portsmouth This looks very close to the mark, but we should update Anton's open_pbr_lightbulb.mtlx example so that it remains an emissive material in OpenPBR 1.2!
https://github.com/AcademySoftwareFoundation/OpenPBR/blob/main/examples/open_pbr_lightbulb.mtlx
@portsmouth This looks very close to the mark, but we should update Anton's
open_pbr_lightbulb.mtlxexample so that it remains an emissive material in OpenPBR 1.2!https://github.com/AcademySoftwareFoundation/OpenPBR/blob/main/examples/open_pbr_lightbulb.mtlx
Done in 203103e749e4a8991cd529513bbbf6c9808d0779. Hopefully there aren't a lot of existing assets out there that will be bitten by this (I assume not, yet..).