X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fscene_vertex_blend.h;h=2302cc7e8ff0e03c607c1cb427271f306df12c1b;hb=df9f72d2912a5424d37dfdb02f76aba8f1ed4df1;hp=5a2afe2c20d4f5a922db721e30e62cca8a1c49c5;hpb=f99902f513b0ad606437bf32de47405dd4ea5f98;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/scene_vertex_blend.h b/shaders/scene_vertex_blend.h index 5a2afe2..2302cc7 100644 --- a/shaders/scene_vertex_blend.h +++ b/shaders/scene_vertex_blend.h @@ -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"