Add DIFFUSE_ROUGHNESS_TEXTURE for gltf2 exporter
parent
72c10d856f
commit
32716002ac
|
@ -870,6 +870,7 @@ void glTF2Exporter::ExportMaterials() {
|
|||
}
|
||||
}
|
||||
|
||||
GetMatTex(mat, m->normalTexture, aiTextureType_DIFFUSE_ROUGHNESS);
|
||||
GetMatTex(mat, m->normalTexture, aiTextureType_NORMALS);
|
||||
GetMatTex(mat, m->occlusionTexture, aiTextureType_LIGHTMAP);
|
||||
GetMatTex(mat, m->emissiveTexture, aiTextureType_EMISSIVE);
|
||||
|
|
Loading…
Reference in New Issue