|
@@ -296,6 +296,7 @@ void Discreet3DSExporter::WriteMaterials() {
|
|
WriteColor(color);
|
|
WriteColor(color);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ float f;
|
|
if (mat.Get(AI_MATKEY_OPACITY, f) == AI_SUCCESS) {
|
|
if (mat.Get(AI_MATKEY_OPACITY, f) == AI_SUCCESS) {
|
|
ChunkWriter chunk(writer, Discreet3DS::CHUNK_MAT_TRANSPARENCY);
|
|
ChunkWriter chunk(writer, Discreet3DS::CHUNK_MAT_TRANSPARENCY);
|
|
WritePercentChunk(1.0f - f);
|
|
WritePercentChunk(1.0f - f);
|