diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-23 03:37:35 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-23 03:37:35 +0200 |
commit | 95115d88ffeadd734048129525c14632f089aaa5 (patch) | |
tree | 9e662dd7bc209365b140631d57f3ad4acf343e14 /shaders/lightmap.vert | |
parent | e9f5c273128e553a6ebc9d15f3a9a820faf2bbb4 (diff) |
wip
Diffstat (limited to 'shaders/lightmap.vert')
-rw-r--r-- | shaders/lightmap.vert | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shaders/lightmap.vert b/shaders/lightmap.vert index 900038c4..6c1e3d73 100644 --- a/shaders/lightmap.vert +++ b/shaders/lightmap.vert @@ -16,6 +16,7 @@ layout (location = 0) in vec3 position; void main() { vec2 pos = position.xy; + /* if (mode == 0) { vec2 dir = pos - center_clip; @@ -26,5 +27,6 @@ void main() { pos += dir_norm * position.z * 4; } } + */ gl_Position = vec4(pos, 0, 1); } |