Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after upgrade three version 163, it will have problem #3

Open
freddywhd opened this issue Sep 17, 2024 · 0 comments
Open

after upgrade three version 163, it will have problem #3

freddywhd opened this issue Sep 17, 2024 · 0 comments

Comments

@freddywhd
Copy link

after upgrade three to 0.163, there is an issue.

this is the recent update in threejs.
mrdoob/three.js@03470dd#diff-6185d1f942f0d4028d8b5c39e26b1975d9a7b03ec5560919d53598cb3991ac0a

vendorsembedsandbo…4f8a764c.chunk.js:1 THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false

Material Name:
Material Type: PointsMaterial

Program Info Log: Vertex shader is not compiled.

VERTEX

ERROR: 0:278: 'MORPHTARGETS_COUNT' : undeclared identifier
ERROR: 0:278: '' : array size must be a constant integer expression
ERROR: 0:280: 'MORPHTARGETS_COUNT' : undeclared identifier
ERROR: 0:280: '<' : 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)

273: #endif
274: #ifdef USE_INSTANCING_COLOR
275: vColor.xyz *= instanceColor.xyz;
276: #endif
277: #ifdef USE_INSTANCING_MORPH

278: float morphTargetInfluences[MORPHTARGETS_COUNT];
279: float morphTargetBaseInfluence = texelFetch( morphTexture, ivec2( 0, gl_InstanceID ), 0 ).r;
280: for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {
281: morphTargetInfluences[i] = texelFetch( morphTexture, ivec2( i + 1, gl_InstanceID ), 0 ).r;
282: }
283: #endif
284: #if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant