Wireframe representation shader compilation error
See original GitHub issueI have a simple visualization. When switching to wireframe representation it renders one image but when I e.g. rotate the view the object disappears. Looking at the Java Script console I can see that the vtkPolyDataFS.glsl shader can not be compiled with the following error:
': ERROR: 0:101: 'texture1' : undeclared identifier
ERROR: 0:101: 'tcoordVCVSOutput' : undeclared identifier
ERROR: 0:101: 'st' : field selection requires structure or vector on left hand side
ERROR: 0:101: 'texture2D' : no matching overloaded function found
ERROR: 0:101: '=' : cannot convert from 'const float' to 'highp 4-component vector of float'
Do you have an idea what’s wrong here? You can find the source of the visualization here. Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Flat and Wireframe Shading - Catlike Coding
The geometry shader stage sits in between the vertex and the fragment stage. It is fed the output of the vertex program, grouped...
Read more >Flutter 1.9: D/skia ( 5106): Shader compilation error
I solved my Shader compilation error by changing emulator's settings. Press that ... button which is located on the side panel of emulator, ......
Read more >Compiling a shader | OpenGL 4.0 Shading Language Cookbook
Compiling a shader involves creating a shader object, providing the source code (as a string or set of strings) to the shader object,...
Read more >Hello Triangle - LearnOpenGL
This vertex's data is represented using vertex attributes that can ... If no errors were detected while compiling the vertex shader it is...
Read more >User Guide :: Nsight Graphics Documentation
Shaders compiled offline from dxc.exe or fxc.exe ... Samples in this row either failed correlation, or represent internal operation of the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Despite the error you are running into, this is awesome! So cool to see some vtk.js usage outside Kitware.
Fantastic! I have merged the change into master. Thanks for letting us know about it.