Buit-in variable in GLSL
(1)The gl_FragCoord
built-in GLSL variable can be used in fragment shaders to get the window-space coordinates of the current fragment.
--------------------------------------------------------------------天道酬勤!