diff options
author | Scurest <scurest> | 2021-05-17 20:49:15 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2021-05-17 20:56:01 +0300 |
commit | 1a4e7b16b2640750f6dfe380218aba028f998ae1 (patch) | |
tree | 18cf628cfbb7c9ef75008296050a3fe33af155b6 /release/scripts | |
parent | a86e815dd86fb77d910bbc857106bedb4b691874 (diff) |
Collada import: respect zero-specularity
Collada shaders with black <specular> should import with Specular=0.
(A missing <specular> is the same as black.)
The general specular conversion is hard, but this case is common and easy.
Fixes the specular for all <constant>/<lambert> shaders, and <blinn>/<phong>
shaders with black/omitted <specular>. Before this they all looked too "shiny".
Reviewed By: gaiaclary
Differential Revision: https://developer.blender.org/D10939
Diffstat (limited to 'release/scripts')
m--------- | release/scripts/addons | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/release/scripts/addons b/release/scripts/addons -Subproject bb16aba5bd3873794eefe167497118b6063b9a8 +Subproject 4fcdbfe7c20edfc1204c0aa46c98ea25354abcd |