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.

posted @ 2012-11-09 11:44  冰点猎手  阅读(202)  评论(0)    收藏  举报