X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fmodel.vs;h=a23529d839dc7582b9248bb43fe989a287b5591d;hb=1be7cfcdb57c61c322462ab6c6c3e9894235732f;hp=350a821944bcdf68e824db0af10795c64eecad3f;hpb=8257c14cce7fd1df60238aa0f690593948b5befe;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/model.vs b/shaders/model.vs index 350a821..a23529d 100644 --- a/shaders/model.vs +++ b/shaders/model.vs @@ -29,6 +29,6 @@ void main() aWorldCo = world_pos0; aColour = a_colour; aUv = a_uv; - aNorm = mat3(uMdl) * a_norm; + aNorm = normalize( mat3(uMdl) * a_norm ); aCo = a_co; }