summaryrefslogtreecommitdiffstats
path: root/o3d/compiler/glsl_validator/shaders/san-angeles-flat.vert
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/compiler/glsl_validator/shaders/san-angeles-flat.vert')
-rw-r--r--o3d/compiler/glsl_validator/shaders/san-angeles-flat.vert8
1 files changed, 8 insertions, 0 deletions
diff --git a/o3d/compiler/glsl_validator/shaders/san-angeles-flat.vert b/o3d/compiler/glsl_validator/shaders/san-angeles-flat.vert
new file mode 100644
index 0000000..4583d20
--- /dev/null
+++ b/o3d/compiler/glsl_validator/shaders/san-angeles-flat.vert
@@ -0,0 +1,8 @@
+attribute vec3 pos;
+attribute vec4 colorIn;
+uniform mat4 mvp;
+varying vec4 color;
+void main() {
+ color = colorIn;
+ gl_Position = mvp * vec4(pos.xyz, 1.);
+}