Shader issue with texture encoding

Hello everybody, good day.:blush:
I came back with new question.:grin:

I added the image plane to the scene. and as material using the shaderMaterial,
Is there any way to detect the encoding type of texture in the shader code, once I set the texture encoding after loading image texture.

The shader will not have access to a texture’s encoding / color space or other properties, unless you pass that information in with uniforms.