Hello, I built the 3D Slicer tool using Webassembly and received the following error. What could be the cause of it? It works fine on Desktop.
Cone.js:1 vtkShaderProgram (0x2a9f90): ERROR: 0:130: ‘/’ : wrong operand types - no operation ‘/’ exists that takes a left-hand operand of type ‘highp float’ and a right operand of type ‘const int’ (or there is no acceptable conversion)
Cone.js:1 ERROR: In vtkOpenGLPolyDataMapper.cxx, line 2590
vtkOpenGLGlyph3DHelper (0x2a3c78): Could not set shader program.
That’s a very interesting project, and I can see a lot of value in being able to share code across browser and desktop. It’s all very new though, so it may be hard to get help. I know you are starting with a fairly simple example, but perhaps starting with an even simpler test could help. Also it could help if you could provide very explicit instructions on your project readme about how people can set up a developer environment to replicate what you have done.