From bdf73a67ffd964c37db5a9694424380bfd685c95 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Wed, 23 Aug 2017 20:23:22 +0500 Subject: 2017-08-23 --- cwd/shaders/face.fs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cwd') 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 -- cgit v1.2.3