istereo2

annotate sdr/color.v.glsl @ 7:a3c4fcc9f8f3

- started a goatkit UI theme - font rendering with drawtext and shaders - asset manager (only used by drawtext for now, will replace respath eventually)
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 24 Sep 2015 06:49:25 +0300
parents
children
rev   line source
nuclear@6 1 attribute vec4 attr_vertex, attr_color;
nuclear@6 2
nuclear@6 3 uniform mat4 matrix_modelview, matrix_projection;
nuclear@6 4
nuclear@6 5 varying vec4 vcolor;
nuclear@6 6
nuclear@6 7 void main()
nuclear@6 8 {
nuclear@6 9 mat4 mvp = matrix_projection * matrix_modelview;
nuclear@6 10 gl_Position = mvp * attr_vertex;
nuclear@6 11 vcolor = attr_color;
nuclear@6 12 }