challenge effects
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / model_board_view.h
index 7c26322c7375bb75ebc7c97c87627cc925d934e6..39956c6a86f426c3f74a4f2cea268a35a567dbc3 100644 (file)
@@ -279,7 +279,7 @@ static struct vg_shader _shader_model_board_view = {
 "   light_delta = normalize( light_delta );\n"
 "\n"
 "   float quadratic = dist2*100.0;\n"
-"   float attenuation  = 1.0f/( 1.0f + quadratic );\n"
+"   float attenuation  = 1.0/( 1.0 + quadratic );\n"
 "         attenuation *= max( dot( light_delta, normal ), 0.0 );\n"
 "\n"
 "   float falloff = max( 0.0, 1.0-(dist2*light_co.w) );\n"