Update README and CHANGES

This commit is contained in:
Omar Shehata 2018-12-04 14:59:25 -05:00
parent 7e9a7a87b8
commit f417504095
2 changed files with 19 additions and 14 deletions

View File

@ -1,6 +1,11 @@
Change Log
==========
### 3.0.0 ????-??-??
* Breaking changes
* The `--materialsCommon` flag has been removed. Use `--unlit` instead which uses the `KHR_materials_unlit` extension. [#152](https://github.com/AnalyticalGraphicsInc/obj2gltf/pull/152)
### 2.3.2 2018-11-02
* Improved handling of primitives with different attributes using the same material. Materials are now duplicated. [#162](https://github.com/AnalyticalGraphicsInc/obj2gltf/pull/162)

View File

@ -73,21 +73,21 @@ As a convenience the PBR textures may be supplied directly to the command line.
**Mapping of mtl slots to shading models**
Slot | Metallic roughness | Specular glossiness | Materials common
Slot | Metallic roughness | Specular glossiness
--- | --- | --- | ---
Ka | occlusion value | occlusion value | ambient color
Ke | emissive color | emissive color | emissive color
Kd | base color | diffuse color | diffuse color
Ks | metallic value | specular color | specular color
Ns | roughness value | glossiness value | specular shininess value
d | alpha | alpha | alpha
Tr | 1.0 - alpha | 1.0 - alpha | 1.0 - alpha
map_Ka | occlusion texture | occlusion texture | ambient texture
map_Ke | emissive texture | emissive texture | emissive texture
map_Kd | base color texture | diffuse texture | diffuse texture
map_Ks | metallic texture | specular texture | specular texture
map_Ns | roughness texture | glossiness texture | specular shininess texture
map_Bump | normal texture | normal texture | normal texture
Ka | occlusion value | occlusion value
Ke | emissive color | emissive color
Kd | base color | diffuse color
Ks | metallic value | specular color
Ns | roughness value | glossiness value
d | alpha | alpha
Tr | 1.0 - alpha | 1.0 - alpha
map_Ka | occlusion texture | occlusion texture
map_Ke | emissive texture | emissive texture
map_Kd | base color texture | diffuse texture
map_Ks | metallic texture | specular texture
map_Ns | roughness texture | glossiness texture
map_Bump | normal texture | normal texture
## Usage