Closed laurelkeys closed 4 years ago
Addresses https://github.com/appleseedhq/appleseed/issues/2765.
The emission color would incorrectly affect black-body emission behaviour when it was black, as it made compute_edf equal to 0:
compute_edf
https://github.com/appleseedhq/appleseed/blob/bc952ad860ca6f93bfe4cdd2b966acac4cb42e20/src/appleseed.shaders/src/appleseed/as_standard_surface.osl#L852-L860
Now, in_incandescence_color has no effect when the emission type is "Black-body" (i.e. in_incandescence_type == 1). The "Custom" type behaviour remains unchanged.
in_incandescence_color
in_incandescence_type == 1
Addresses https://github.com/appleseedhq/appleseed/issues/2765.
The emission color would incorrectly affect black-body emission behaviour when it was black, as it made
compute_edf
equal to 0:https://github.com/appleseedhq/appleseed/blob/bc952ad860ca6f93bfe4cdd2b966acac4cb42e20/src/appleseed.shaders/src/appleseed/as_standard_surface.osl#L852-L860
Now,
in_incandescence_color
has no effect when the emission type is "Black-body" (i.e.in_incandescence_type == 1
). The "Custom" type behaviour remains unchanged.