sampler2DShadow, GL_TEXTURE_2D ... sampler types do not add an additional coordinate to gradvec, so a sampler2DShadow is still "vec2".
確定! 回上一頁