gl_FragCoord はピクセル座標の組み込み変数です。 型はvec4になります。 //gl_FragCoordを利用して色をしていするfloat c = gl_FragCoord.x /resolution.x ...
確定! 回上一頁