uniform samplerBuffer buffer in int gl_VertexID; void main () { vec3 v = vec3(texelFetch(buffer, gl_VertexID).xyz); ... } ...
確定! 回上一頁