vasturiano / 3d-force-graph

3D force-directed graph component using ThreeJS/WebGL
https://vasturiano.github.io/3d-force-graph/example/large-graph/
MIT License
4.48k stars 803 forks source link

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

Open qinshiju opened 5 months ago

qinshiju commented 5 months ago

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;