diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-06-10 06:46:49 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-06-10 06:46:49 +0200 |
commit | f7898053802ea38630f93034d0cd1555492fbc56 (patch) | |
tree | f81955574f7ecc24ff26ee770c45768a366d0202 /shaders/lightmap.vert | |
parent | dc913f11422e002059029cac8da2d6b9a725656a (diff) |
wip
Diffstat (limited to 'shaders/lightmap.vert')
-rw-r--r-- | shaders/lightmap.vert | 12 |
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); +} |