summaryrefslogtreecommitdiffhomepage
path: root/shaders/lightmap.vert
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-08-23 03:38:49 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-08-23 03:40:04 +0200
commit0b1a4b61e6d1f7e88d12599853beeb12d0472c53 (patch)
tree884be9fb376ae2c1c3e7fd094069db3b33a60a6f /shaders/lightmap.vert
parent95115d88ffeadd734048129525c14632f089aaa5 (diff)
wip
Diffstat (limited to 'shaders/lightmap.vert')
-rw-r--r--shaders/lightmap.vert2
1 files changed, 0 insertions, 2 deletions
diff --git a/shaders/lightmap.vert b/shaders/lightmap.vert
index 6c1e3d73..900038c4 100644
--- a/shaders/lightmap.vert
+++ b/shaders/lightmap.vert
@@ -16,7 +16,6 @@ layout (location = 0) in vec3 position;
void main() {
vec2 pos = position.xy;
- /*
if (mode == 0)
{
vec2 dir = pos - center_clip;
@@ -27,6 +26,5 @@ void main() {
pos += dir_norm * position.z * 4;
}
}
- */
gl_Position = vec4(pos, 0, 1);
}