- fbx: fix diffuse material color.
parent
04c77029e8
commit
cfb05376d2
|
@ -553,7 +553,7 @@ private:
|
||||||
bool ok;
|
bool ok;
|
||||||
const aiColor3D& Diffuse = GetColorPropertyFromMaterial(props,"Diffuse",ok);
|
const aiColor3D& Diffuse = GetColorPropertyFromMaterial(props,"Diffuse",ok);
|
||||||
if(ok) {
|
if(ok) {
|
||||||
out_mat->AddProperty(&Diffuse,1,AI_MATKEY_COLOR_EMISSIVE);
|
out_mat->AddProperty(&Diffuse,1,AI_MATKEY_COLOR_DIFFUSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
const aiColor3D& Emissive = GetColorPropertyFromMaterial(props,"Emissive",ok);
|
const aiColor3D& Emissive = GetColorPropertyFromMaterial(props,"Emissive",ok);
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 768 KiB |
Loading…
Reference in New Issue