Blender Git Loki

Git Commits -> Revision dd3e347

Revision dd3e347 by Gaia Clary (master)
July 16, 2019, 11:28 (GMT)
fix T66899: Collada: Shininess/Reflectivity not handled correct

Fixed: The Collada Exporter only supports export of
Lambert Shaders. But Shininess is not supported with
Lambert Shaders. The exporter must not add Shininess
to the Shader data!

Fixed: The Collada Importer adds an illegal value of -1
for reflectivity when this parameters is not defined in
the imported collada data. Now reflectivity is only
set when the import data contains a valid value.

Discarded: The Collada Importer handles shininess in a
dubious way. I have discarded import for now.
This needs to be reworked carefully in 2.81.

Differential Revision: https://developer.blender.org/D5262

Commit Details:

Full Hash: dd3e3474abcb9c07ba0bd26f6b8940fc906d97a5
Parent Commit: 965bd4c
Lines Changed: +18, -10

3 Modified Paths:

/source/blender/collada/DocumentImporter.cpp (+3, -0) (Diff)
/source/blender/collada/EffectExporter.cpp (+3, -4) (Diff)
/source/blender/collada/Materials.cpp (+12, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021