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  冰点猎手  阅读(194)  评论(0编辑  收藏  举报