X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fmodel_character_view.h;h=55f88315930ada60967f19ca9a849fe215ea3eb2;hb=02e009ae6e20938675277e9ce2f467e17b170cc7;hp=cf93a55a5803e1daa1666c3bf5aea36e49f86e6c;hpb=e70b6d550d63af95cafd9ffdee1918faf02a6892;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/model_character_view.h b/shaders/model_character_view.h index cf93a55..55f8831 100644 --- a/shaders/model_character_view.h +++ b/shaders/model_character_view.h @@ -420,7 +420,7 @@ static struct vg_shader _shader_model_character_view = { "{\n" " compute_motion_vectors();\n" "\n" -" vec3 qnorm = normalize(floor(aNorm*2.0)*0.5) + vec3(0.001,0.0,0.0);\n" +" vec3 qnorm = aNorm;\n" " vec3 diffuse = texture( uTexMain, aUv ).rgb;\n" " vec3 composite = world_compute_lighting( diffuse, qnorm, aWorldCo, 1.0 );\n" "\n"