vec4 texture2D(sampler2D sampler, vec2 coord)The texture2D ... 参数代表纹理坐标点,通过GLSL的内建函数texture2D来获取对应位置纹理的颜色RGBA值.
確定! 回上一頁