texturing using texelFetch() ... out vec4 Color; uniform isamplerBuffer sampler; uniform int index; void main() { Color=texelFetch(sampler,index); }.
確定! 回上一頁