Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/collada/DocumentImporter.cpp
| Show First 20 Lines • Show All 811 Lines • ▼ Show 20 Lines | #if 0 | ||||
| matNode.set_shininess(ef->getShininess()); | matNode.set_shininess(ef->getShininess()); | ||||
| #endif | #endif | ||||
| matNode.set_reflectivity(ef->getReflectivity()); | matNode.set_reflectivity(ef->getReflectivity()); | ||||
| /* not supported by principled BSDF */ | /* not supported by principled BSDF */ | ||||
| matNode.set_ambient(ef->getAmbient()); | matNode.set_ambient(ef->getAmbient()); | ||||
| matNode.set_specular(ef->getSpecular()); | matNode.set_specular(ef->getSpecular()); | ||||
| matNode.set_reflective(ef->getReflective()); | matNode.set_reflective(ef->getReflective()); | ||||
| matNode.update_material_nodetree(); | |||||
| } | } | ||||
| /** | /** | ||||
| * When this method is called, the writer must write the effect. | * When this method is called, the writer must write the effect. | ||||
| * \return The writer should return true, if writing succeeded, false otherwise. | * \return The writer should return true, if writing succeeded, false otherwise. | ||||
| */ | */ | ||||
| bool DocumentImporter::writeEffect(const COLLADAFW::Effect *effect) | bool DocumentImporter::writeEffect(const COLLADAFW::Effect *effect) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 428 Lines • Show Last 20 Lines | |||||