-
Notifications
You must be signed in to change notification settings - Fork 4
Description
THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false
Material Name: 材質1
Material Type: MMDToonMaterial
Program Info Log: Vertex shader is not compiled.
�
VERTEX
ERROR: 0:307: 'MORPHTARGETS_COUNT' : undeclared identifier
ERROR: 0:307: '' : array size must be a constant integer expression
ERROR: 0:312: 'MORPHTARGETS_TEXTURE_STRIDE' : undeclared identifier
ERROR: 0:312: '' : wrong operand types - no operation '' exists that takes a left-hand operand of type 'const highp int' and a right operand of type 'const highp float' (or there is no acceptable conversion)
ERROR: 0:563: 'MORPHTARGETS_COUNT' : undeclared identifier
ERROR: 0:563: '<' : wrong operand types - no operation '<' exists that takes a left-hand operand of type 'highp int' and a right operand of type 'const highp float' (or there is no acceptable conversion)
�
302: #endif
303: #endif
304: #ifdef USE_MORPHTARGETS
305: #ifndef USE_INSTANCING_MORPH
306: uniform float morphTargetBaseInfluence;
307: uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];
308: #endif
309: uniform sampler2DArray morphTargetsTexture;
310: uniform ivec2 morphTargetsTextureSize;
311: vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {
312: int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;
313: int y = texelIndex / morphTargetsTextureSize.x;