X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fmodel_gate.h;h=1bc558fd5e0be8bba07fe2603a89a7b4f63a6658;hb=1be7cfcdb57c61c322462ab6c6c3e9894235732f;hp=31329abb360c00b1bc97621f47263aa79ace7606;hpb=8257c14cce7fd1df60238aa0f690593948b5befe;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/model_gate.h b/shaders/model_gate.h index 31329ab..1bc558f 100644 --- a/shaders/model_gate.h +++ b/shaders/model_gate.h @@ -58,7 +58,7 @@ static struct vg_shader _shader_model_gate = { " aWorldCo = world_pos0;\n" " aColour = a_colour;\n" " aUv = a_uv;\n" -" aNorm = mat3(uMdl) * a_norm;\n" +" aNorm = normalize( mat3(uMdl) * a_norm );\n" " aCo = a_co;\n" "}\n" ""},