summaryrefslogtreecommitdiffstats
path: root/src/demos/dualDepthPeeling/shaders/wavg_final_vertex.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/dualDepthPeeling/shaders/wavg_final_vertex.glsl')
-rw-r--r--src/demos/dualDepthPeeling/shaders/wavg_final_vertex.glsl13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/demos/dualDepthPeeling/shaders/wavg_final_vertex.glsl b/src/demos/dualDepthPeeling/shaders/wavg_final_vertex.glsl
new file mode 100644
index 0000000..5c07236
--- /dev/null
+++ b/src/demos/dualDepthPeeling/shaders/wavg_final_vertex.glsl
@@ -0,0 +1,13 @@
+//--------------------------------------------------------------------------------------
+// Order Independent Transparency with Average Color
+//
+// Author: Louis Bavoil
+//
+// Copyright (c) NVIDIA Corporation. All rights reserved.
+//--------------------------------------------------------------------------------------
+
+void main(void)
+{
+ gl_Position = gl_ModelViewMatrix * gl_Vertex;
+}