X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fvblend.h;fp=shaders%2Fvblend.h;h=fd558ef8acdd3798829f4ce5d9173a982ec98158;hb=1142fd5c27cf6d5bef073969b55e20b160646164;hp=ad3f82b1236790ce119a231266379ce831b2d157;hpb=403726131f9b460c3264e4f64c46f8aaa82978fe;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/vblend.h b/shaders/vblend.h index ad3f82b..fd558ef 100644 --- a/shaders/vblend.h +++ b/shaders/vblend.h @@ -17,7 +17,7 @@ static struct vg_shader _shader_vblend = { "\n" "#line 2 0 \n" "#line 1 2 \n" -"const float k_motion_lerp_amount = 0.05;\n" +"const float k_motion_lerp_amount = 0.01;\n" "\n" "#line 2 0 \n" "\n" @@ -26,6 +26,8 @@ static struct vg_shader _shader_vblend = { "\n" "void vs_motion_out( vec4 vproj0, vec4 vproj1 )\n" "{\n" +" // This magically solves some artifacting errors!\n" +" //\n" " vproj1 = vproj0*(1.0-k_motion_lerp_amount) + vproj1*k_motion_lerp_amount;\n" "\n" " aMotionVec0 = vec3( vproj0.xy, vproj0.w );\n" @@ -181,7 +183,7 @@ static struct vg_shader _shader_vblend = { "\n" "#line 12 0 \n" "#line 1 2 \n" -"const float k_motion_lerp_amount = 0.05;\n" +"const float k_motion_lerp_amount = 0.01;\n" "\n" "#line 2 0 \n" "\n"