preview for challenges and new system
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / scene_vertex_blend.h
index 5a2afe2c20d4f5a922db721e30e62cca8a1c49c5..2302cc7e8ff0e03c607c1cb427271f306df12c1b 100644 (file)
@@ -274,7 +274,7 @@ static struct vg_shader _shader_scene_vertex_blend = {
 "   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"