CesiumGS / obj2gltf

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

Constant lighting added back to materialsCommon #108

Closed lilleyse closed 7 years ago

lilleyse commented 7 years ago

At some point during the 2.0 refactor I dropped support for the CONSTANT lighting mode for KHR_materials_common, but it is worth adding back. The model just needs to pass along whether it has normals.

This is for https://github.com/AnalyticalGraphicsInc/cesium/issues/5835.

@shehzan10 can you review?