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

9
glsl/world-shp.vert Normal file
View File

@@ -0,0 +1,9 @@
uniform vec2 Scroll;
uniform vec2 r1;
uniform vec2 r2; // matrix elements
void main()
{
vec2 p = (gl_Vertex.xy);
gl_Position = gl_Vertex;
}