It is my first question in this forum (I am a newbie in shaders) so excuse me if this was asked before or if it sounds stupid.
I define a luminance 16 bits texture and render it OK.
The problem is that I want to make some process on the ‘raw’ 16 bits data of the texture. When accessing the data through texture2D API I get the gray level color (vec4) and not the ‘raw’ data of the texture.
Is there a way to get this data? Is my understanding totally wrong about this texture issue?