Skip to content

Implement 2D polydata mapper for GLES 3.0 context compatibility

  • closes #18834 (closed)
  • addresses #18788
  • vtkOpenGLES30PolyDataMapper2D is a new override for vtkPolyDataMapper2D when VTK targets GLES contexts. This new mapper derives most functionality from vtkOpenGLPolyDataMapper2D, re-implementing only parts that were incompatible with GLES 3.0. This means that scalar bars and 2D actors will now work in VTK-wasm.
  • This MR also refactors the shader preamble to correctly define texelFetchBuffer for GLES.

Merge request reports