BabylonJS / Exporters

Exporters for Babylon.js and gltf file formats
Other
612 stars 313 forks source link

add secondary lowercase test when looking for material property by name #1075

Closed pandaGaume closed 2 years ago

pandaGaume commented 2 years ago

sometime the names of the material properties may changed - often is a third party plugin side effect with script material. so give a second chance with lowercase search to be more resilient. for sample normal map will be now search using "nomalMap", then "normalmap" and finally " _NormalMap" remember that the last one is a fix for some 2022 version fix #1072