From e4e66476a90cca291b562dd48ef55258e1c690f4 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 18 Jan 2007 15:23:45 -0700 Subject: [PATCH] remove debug code --- progs/glsl/CH11-toyball.frag.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/progs/glsl/CH11-toyball.frag.txt b/progs/glsl/CH11-toyball.frag.txt index cf9129ee1da..90ec1c27fc1 100644 --- a/progs/glsl/CH11-toyball.frag.txt +++ b/progs/glsl/CH11-toyball.frag.txt @@ -45,7 +45,6 @@ void main() distance[2] = dot(p, HalfSpace2); distance[3] = dot(p, HalfSpace3); -#if 1 distance = smoothstep(-FWidth, FWidth, distance); inorout += dot(distance, vec4(1.0)); @@ -73,7 +72,4 @@ void main() surfColor += SpecularColor * intensity; gl_FragColor = surfColor; -#else - gl_FragColor = distance; -#endif } -- 2.30.2