question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wireframe representation shader compilation error

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jourdaincommented, Feb 10, 2017

Despite the error you are running into, this is awesome! So cool to see some vtk.js usage outside Kitware.

0reactions
martinkencommented, Feb 13, 2017

Fantastic! I have merged the change into master. Thanks for letting us know about it.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found