diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-06-17 07:29:02 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-06-17 07:29:02 +0200 |
commit | 0c9383d5944a53b9b6fcc60fc56450a5418f0963 (patch) | |
tree | b5b83af37c1ea08b71c5eb644c76dcdb75bc76c7 /shaders/lightmap.vert | |
parent | 1c8f175159520518f05da9b287c783b692bd453f (diff) |
shaders: wip
Diffstat (limited to 'shaders/lightmap.vert')
-rw-r--r-- | shaders/lightmap.vert | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shaders/lightmap.vert b/shaders/lightmap.vert index 8cda9926..21a4d7a9 100644 --- a/shaders/lightmap.vert +++ b/shaders/lightmap.vert @@ -4,9 +4,10 @@ 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 = 4) uniform bool enable_lightmap; +layout (location = 4) uniform uint mode; +layout (location = 5) uniform sampler2D sampler; -layout (location = 0) in vec4 position; +layout (location = 0) in vec2 position; void main() { gl_Position = vec4(position.x, position.y, 0, 1); |