16-bits textures does not work
Loading 16-bits PNG as a texture does not work.
I think the issue is in vtkOpenGLTexture::Load
where input ImageData is expecting an unsigned char array.
Textures loading should take into account the input image data type and correctly map the OpenGL texture format.
Steps to reproduce:
- Create a Box
- Load the following 16-bits image as a texture: