summaryrefslogtreecommitdiffhomepage
path: root/shaders/lightmap.vert
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/lightmap.vert')
-rw-r--r--shaders/lightmap.vert12
1 files changed, 12 insertions, 0 deletions
diff --git a/shaders/lightmap.vert b/shaders/lightmap.vert
index e69de29b..a044a141 100644
--- a/shaders/lightmap.vert
+++ b/shaders/lightmap.vert
@@ -0,0 +1,12 @@
+precision mediump float;
+
+layout (location = 0) uniform vec4 color_intensity;
+layout (location = 1) uniform vec2 center;
+layout (location = 2) uniform uint falloff;
+layout (location = 3) uniform vec2 size;
+
+layout (location = 0) in vec4 position;
+
+void main() {
+ gl_Position = vec4(position.x, -position.y, 0, 1);
+}