fix shaders format

This commit is contained in:
2019-02-21 21:51:55 +01:00
parent 78ca0ee6ad
commit 39ee7289c5
26 changed files with 390 additions and 176 deletions

View File

@@ -1,16 +1,22 @@
[[vertex]]
uniform mat4 mvp;
in vec4 pos;
void main()
{
gl_Position = mvp * pos;
gl_PointSize = 5.0;
};
gl_Position = mvp * pos;
gl_PointSize = 5.0;
}
[[fragment]]
uniform mediump vec4 col;
out mediump vec4 frag;
void main()
{
frag = col;
};
frag = col;
}