Three.js ShaderMaterial with lights on mesh imported from Blender -
i'm trying shadermaterial lights working in three.js r77. works correctly when applied mesh simple boxgeometry behaves incorrectly when applied mesh imported blender. a simple jsfiddle illustrating problem here . mesh on left created blender export. mesh on right created simple boxgeometry. both using same shadermaterial. position of light indicated directionallighthelper. the mesh on right being lit correctly, while mesh on left not. problem in shader code. assumed problem in uv map on imported mesh, not appear true. in jsfiddle example uv map copied directly boxgeometry mesh imported geometry---they're rotated relative each other because of coordinate differences between blender , three.js, lighting still working correctly on mesh on right imported uvs. the shader code is: three.testshader = { uniforms: { "udirlightpos": { type: "v3", value: new three.vector3(20, 20, 20) }, "udirlightcolor": { t...