texture vs texture2D in GLSL在GLSL(a uniform sampler2D)中采样2D纹理时,使用texture函数,并从采样器(在这种情况下为2D)推断尺寸。
確定! 回上一頁