Begin work on the glsl renderer. Renders blue blocks for chrome-rgba.

This commit is contained in:
Paul Chote
2010-11-10 22:00:58 +13:00
parent a058eb06b2
commit f2a20a182e
8 changed files with 103 additions and 77 deletions

8
glsl/chrome-rgba.vert Normal file
View File

@@ -0,0 +1,8 @@
uniform vec2 r1;
uniform vec2 r2; // matrix elements
void main()
{
vec2 p = gl_Vertex.xy*vec2(0.001538462,-0.0025) + vec2(-1,1);
gl_Position = vec4(p.x,p.y,0,1);
}