When I sample the _CameraGBufferTexture in the fragment shader inside unity shaderlab using :
return tex2D(_CameraGBufferTexture3,i.uv);
I get the following output:
Original Image: Imgur: The magic of the Internet
Frag output: Imgur: The magic of the Internet
What I expected was the opposite values, that is bright spots on the bright parts of the ring. since this texture according to Unity stores the Emission + lighting + lightmaps + reflection probes buffer. Am I expecting something wrong.
What I want :: I just wanted the light color value to be outputed through my shader, that is the value of the light color that is being reflected from various surfaces seen in the scene. Is this method correct?
Thanks in advance!