nuclear@7: attribute vec4 attr_vertex;//, attr_color; nuclear@6: attribute vec2 attr_texcoord; nuclear@6: nuclear@6: uniform mat4 matrix_modelview, matrix_projection; nuclear@6: nuclear@7: //varying vec4 vcolor; nuclear@6: varying vec2 vtexcoord; nuclear@6: nuclear@6: void main() nuclear@6: { nuclear@6: mat4 mvp = matrix_projection * matrix_modelview; nuclear@6: gl_Position = mvp * attr_vertex; nuclear@7: //vcolor = attr_color; nuclear@6: vtexcoord = attr_texcoord; nuclear@6: }