summaryrefslogtreecommitdiffhomepage
path: root/shaders/lightmap.vert
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-08-23 03:37:35 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-08-23 03:37:35 +0200
commit95115d88ffeadd734048129525c14632f089aaa5 (patch)
tree9e662dd7bc209365b140631d57f3ad4acf343e14 /shaders/lightmap.vert
parente9f5c273128e553a6ebc9d15f3a9a820faf2bbb4 (diff)
wip
Diffstat (limited to 'shaders/lightmap.vert')
-rw-r--r--shaders/lightmap.vert2
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);
}