16 Bit Grayscale Textures

Is there a Texture Format for 16 bit grayscale? I just found Texture::F_rgba16, but that requires the texture to be RGBA, and not just grayscale …

Thanks in advance

You’d be looking for the GL_R16F OpenGL texture format, which Panda doesn’t currently support. However, this is easy to add, just add it to texture.h and add the appropriate lines to glGraphicsStateGuardian_src.cxx.