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

When nodeThreeObject is used, three-spritetext gives an error #663

Open
qinshiju opened this issue Feb 1, 2024 · 0 comments
Open

When nodeThreeObject is used, three-spritetext gives an error #663

qinshiju opened this issue Feb 1, 2024 · 0 comments

Comments

@qinshiju
Copy link

qinshiju commented Feb 1, 2024

THREE.WebGLProgram: Shader Error 1282 - VALIDATE_STATUS false

Program Info Log: Vertex shader is not compiled.

VERTEX

ERROR: 0:264: 'uvundefined' : undeclared identifier
ERROR: 0:264: 'constructor' : not enough data provided for construction

259: void main() {
260: #if defined( USE_UV ) || defined( USE_ANISOTROPY )
261: vUv = vec3( uv, 1 ).xy;
262: #endif
263: #ifdef USE_MAP

264: vMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy;
265: #endif
266: #ifdef USE_ALPHAMAP
267: vAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy;
268: #endif
269: #ifdef USE_LIGHTMAP
270: vLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy;

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