summaryrefslogtreecommitdiffstats
path: root/progs/vpglsl/psiz-mul.glsl
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-05-14 15:57:27 +0100
committerJosé Fonseca <[email protected]>2009-06-01 18:40:21 -0700
commit97f5953ced6938ca8e92cde62e8717ff505cc4e2 (patch)
tree4079ed448cb05a14e4d2df4b4a14ed90576f27fa /progs/vpglsl/psiz-mul.glsl
parentf989390af6f827d1ea36560381340148811836f3 (diff)
progs/vpglsl: add similar support for point rendering as progs/vp
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;
+}