blender/source
Scurest 1a4e7b16b2 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
2021-05-17 19:56:01 +02:00
..
blender Collada import: respect zero-specularity 2021-05-17 19:56:01 +02:00
creator Cleanup: unnecessary extra lines for doxy sections 2021-05-11 16:04:03 +10:00
tools@f99d29ae3e Collada import: connect Emission texture to Emission socket 2021-05-13 23:43:37 +02:00
CMakeLists.txt MSVC: Enable clang-tidy analyser 2020-12-03 11:00:58 -07:00