medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f58f16bf6f51b63a8f84ebf2ddf848ae7f11c622
parent fa6372cbc2a27fe8dc904813440920f3bbd19c90
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu Nov  3 22:05:58 +0200

Remove old comments

Diffstat:
mod_btt.cc | 10----------
1 file changed, 0 insertions(+), 10 deletions(-)
diff --git a/mod_btt.cc b/mod_btt.cc @@ -57,7 +57,6 @@ static const GLchar * frag_src = GLSL( float l = sun > horizon ? 1.0 : 0.0; float d = max( 0, -dot( normal, sunv ) ); - // float light = max( 0.2, l * ( d * 0 + 1 ) ); float light = max( 0.2, l * d ); vec3 fog = vec3( 0.6, 0.6, 0.6 ); @@ -65,15 +64,6 @@ static const GLchar * frag_src = GLSL( float t = smoothstep( 400, 600, depth ); colour = vec4( ( 1.0 - t ) * ground * light + t * fog, 1.0 ); - // colour *= 0; - // colour = vec4( horizon, horizon, horizon, 1.0 ); - - // if( smooth_position.y > 10.5 && smooth_position.y < 11.5 ) { - // colour.r = 1; - // } - // - // int a = int( smooth_position.x ) / 10; - // if( a % 2 == 0 ) colour.g = 1; } );