Browse Source

Merge pull request #16687 from zeux/skinprec

Fix skinning precision issue on iOS
Mr.doob 6 years ago
parent
commit
0f54b9269c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderers/shaders/ShaderChunk/skinning_pars_vertex.glsl.js

+ 1 - 1
src/renderers/shaders/ShaderChunk/skinning_pars_vertex.glsl.js

@@ -6,7 +6,7 @@ export default /* glsl */`
 
 
 	#ifdef BONE_TEXTURE
 	#ifdef BONE_TEXTURE
 
 
-		uniform sampler2D boneTexture;
+		uniform highp sampler2D boneTexture;
 		uniform int boneTextureSize;
 		uniform int boneTextureSize;
 
 
 		mat4 getBoneMatrix( const in float i ) {
 		mat4 getBoneMatrix( const in float i ) {