gl_fragcoord 和gl_fragdepth分別是片元著色器的輸入和輸出變數。 gl_fragcoord是個vec4,四個分量分別對應x, y, z和1/w。其中,x和y ...
確定! 回上一頁