We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当我用选择工具选择构件时,shader报错了 When I used the selection tool to select components, the shader reported an error
xeokit-bim-viewer.min.es.js:1 Fragment shader failed to compile
ERROR: 0:12: 'varying' : Illegal use of reserved word
1: #version 300 es 2: // Triangles dataTexture draw fragment shader 3: #ifdef GL_FRAGMENT_PRECISION_HIGH 4: precision highp float; 5: precision highp int; 6: #else 7: precision mediump float; 8: precision mediump int; 9: #endif 10: in float isPerspective; 11: uniform float logDepthBufFC; 12: varying float vFragDepth; 13: uniform vec4 color; 14: out vec4 outColor; 15: void main(void) { 16: gl_FragDepth = log2( vFragDepth ) * logDepthBufFC * 0.5; 17: outColor = color; 18: }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当我用选择工具选择构件时,shader报错了
When I used the selection tool to select components, the shader reported an error
xeokit-bim-viewer.min.es.js:1 Fragment shader failed to compile
ERROR: 0:12: 'varying' : Illegal use of reserved word
1: #version 300 es
2: // Triangles dataTexture draw fragment shader
3: #ifdef GL_FRAGMENT_PRECISION_HIGH
4: precision highp float;
5: precision highp int;
6: #else
7: precision mediump float;
8: precision mediump int;
9: #endif
10: in float isPerspective;
11: uniform float logDepthBufFC;
12: varying float vFragDepth;
13: uniform vec4 color;
14: out vec4 outColor;
15: void main(void) {
16: gl_FragDepth = log2( vFragDepth ) * logDepthBufFC * 0.5;
17: outColor = color;
18: }
The text was updated successfully, but these errors were encountered: