summaryrefslogtreecommitdiffstats
path: root/cwd/shaders
diff options
context:
space:
mode:
Diffstat (limited to 'cwd/shaders')
-rw-r--r--cwd/shaders/face.fs5
1 files changed, 2 insertions, 3 deletions
diff --git a/cwd/shaders/face.fs b/cwd/shaders/face.fs
index 6e9d8f0..aa45997 100644
--- a/cwd/shaders/face.fs
+++ b/cwd/shaders/face.fs
@@ -45,7 +45,6 @@ void main() {
vec3 hsvColor = rgb2hsv(gl_FragColor.xyz);
hsvColor+=fs_in.Color;
gl_FragColor = vec4(hsv2rgb(hsvColor),1);
-// gl_FragColor = vec4(fs_in.Light.x / 16.0,0,fs_in.Light.y / 16.0,1);
- float faceLight = clamp((fs_in.Light.x + fs_in.Light.y) / 16.0,0,16);
- gl_FragColor = vec4(gl_FragColor.rgb * faceLight,gl_FragColor.a);
+ //float faceLight = clamp((fs_in.Light.x + fs_in.Light.y) / 15.0,0.2,1.0);
+ //gl_FragColor = vec4(gl_FragColor.rgb * faceLight,gl_FragColor.a);
} \ No newline at end of file