X-Git-Url: https://git.piment-noir.org/?p=SugarCubes.git;a=blobdiff_plain;f=vert.glsl;fp=vert.glsl;h=0b58f601c18aa43bf019672af944a16c6349665e;hp=0000000000000000000000000000000000000000;hb=f109415988e59cd5e255ce6baac40abc57f307d8;hpb=d3016df6068e182a317be0451674411937fd7e95 diff --git a/vert.glsl b/vert.glsl new file mode 100644 index 0000000..0b58f60 --- /dev/null +++ b/vert.glsl @@ -0,0 +1,11 @@ +uniform mat4 transform; +attribute vec4 vertex; +attribute vec4 color; +varying vec4 vertColor; +attribute float pointsize; +void main() { + gl_Position = transform * vertex; + vertColor = color; + gl_PointSize = 100.0; +} +