summaryrefslogtreecommitdiffstats
path: root/progs/vpglsl/psiz-mul.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'progs/vpglsl/psiz-mul.glsl')
-rw-r--r--progs/vpglsl/psiz-mul.glsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/vpglsl/psiz-mul.glsl b/progs/vpglsl/psiz-mul.glsl
new file mode 100644
index 00000000000..77f4a46b520
--- /dev/null
+++ b/progs/vpglsl/psiz-mul.glsl
@@ -0,0 +1,6 @@
+
+void main() {
+ gl_FrontColor = gl_Color;
+ gl_PointSize = 10 * gl_Color.x;
+ gl_Position = gl_Vertex;
+}