summaryrefslogtreecommitdiff
path: root/data/glsl.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'data/glsl.cfg')
-rw-r--r--data/glsl.cfg7
1 files changed, 0 insertions, 7 deletions
diff --git a/data/glsl.cfg b/data/glsl.cfg
index 189b456..3004d05 100644
--- a/data/glsl.cfg
+++ b/data/glsl.cfg
@@ -276,7 +276,6 @@ worldshader = [
@arg2
//:shadowmap
- //:dynlight
}
] [
@(if (>= $numargs 5) [result $arg5])
@@ -296,7 +295,6 @@ worldshader = [
vec4 lm = texture2D(lightmap, texcoord1);
//:shadowmap lm
- //:dynlight lm
@arg3
@@ -633,9 +631,6 @@ bumpvariantshader = [
pulse = abs(fract(millis*pulseglowspeed.x)*2.0 - 1.0);
]])
- @(if (|| (! (btopt "i")) (btopt "s")) [result [
- //:dynlight
- ]])
@(if (! (btopt "i")) [result [
//:shadowmap
//:water
@@ -714,12 +709,10 @@ bumpvariantshader = [
@(if (|| (! (btopt "i")) (btopt "s")) [result [
lmc.rgb = max(lmc.rgb*clamp(dot(lmlv, bump), 0.0, 1.0), ambient.xyz);
@(if (btopt "i") [result [
- //:dynlight lmc
@(? (btopt "g") "diffuse.rgb" "gl_FragColor.rgb") = diffuse.rgb * lmc.rgb;
]] [result [
//:shadowmap lmc
- //:dynlight lmc
@(? (|| (btopt "g") (btopt "r")) "diffuse.rgb" "gl_FragColor.rgb") = diffuse.rgb * lmc.rgb;
]])