supertuxkart / stk-blender

Blender 2.80 exporter
MIT License
23 stars 19 forks source link

Feature/export tangent only when normal map are used #9

Closed MatthewsSam closed 3 years ago

MatthewsSam commented 3 years ago

I was not aware but exporting tangent increases the size of exported files. This should be avoid unless normal maps are presents.

Now the script will check if there are textures with prefix _nm or _normal. All normal maps in STK are prefixed this way.