CesiumGS / obj2gltf

Convert OBJ assets to glTF
Apache License 2.0
1.71k stars 307 forks source link

Ignore ambient texture if it is the same as the diffuse texture #127

Closed lilleyse closed 6 years ago

lilleyse commented 6 years ago

OBJ models are often exported with the same texture in the diffuse and ambient slots but this is typically not desirable, particularly when saving with PBR materials where the ambient texture is treated as the occlusion texture.

shehzan10 commented 6 years ago

@lilleyse Can you resolve the conflict? I'll merge it after that.

lilleyse commented 6 years ago

@shehzan10 Updated.