#define ADD_EXTRA_SKINNING_ATTRIBUTES
#define ADD_EXTRA_WEIGHTS
-#ifdef HIGHP
- precision highp float;
-#else
- precision mediump float;
-#endif
+precision highp float;
INPUT vec3 aPosition;
INPUT vec2 aTexCoord;
#endif
OUTPUT mediump vec2 vUV;
-OUTPUT lowp mat3 vTBN;
+OUTPUT highp mat3 vTBN;
OUTPUT lowp vec4 vColor;
OUTPUT highp vec3 vPositionToCamera;
uniform highp mat4 uViewMatrix;
-uniform mat3 uNormalMatrix;
-uniform mat4 uModelMatrix;
-uniform mat4 uProjection;
+uniform highp mat3 uNormalMatrix;
+uniform highp mat4 uModelMatrix;
+uniform highp mat4 uProjection;
#ifdef SKINNING
#ifdef SL_VERSION_LOW
#define MAX_BONES 80
-uniform mat4 uBone[MAX_BONES];
+uniform highp mat4 uBone[MAX_BONES];
#else
#define MAX_BONES 256
layout(std140) uniform Bones