When sampling a 2D texture in GLSL (a uniform sampler2D ), the texture function is used and the dimension is inferred from the sampler (2D in this case).
確定! 回上一頁