nuclear@21: attribute vec4 attr_vertex, attr_texcoord; nuclear@21: nuclear@21: uniform mat4 matrix_modelview, matrix_projection, matrix_texture; nuclear@21: nuclear@21: varying vec4 tex_coords; nuclear@21: nuclear@21: void main() nuclear@21: { nuclear@21: mat4 mvp = matrix_projection * matrix_modelview; nuclear@21: gl_Position = mvp * attr_vertex; nuclear@21: tex_coords = matrix_texture * attr_texcoord; nuclear@21: }