summaryrefslogtreecommitdiffstats
path: root/res/raw/bg_vs.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'res/raw/bg_vs.glsl')
-rw-r--r--res/raw/bg_vs.glsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/raw/bg_vs.glsl b/res/raw/bg_vs.glsl
new file mode 100644
index 0000000..d604369
--- /dev/null
+++ b/res/raw/bg_vs.glsl
@@ -0,0 +1,6 @@
+varying lowp vec4 color;
+
+void main() {
+ color = ATTRIB_color;
+ gl_Position = vec4(ATTRIB_position.x + ATTRIB_offsetX, ATTRIB_position.y, 0.0, 1.0);
+} \ No newline at end of file