glider orphan / entity normals with scale
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / model_sky.h
index f8f88d3d1a19ef6e9c205c6006b3d943b56807bc..88612b2bb7ac06a48729f3abd551d95d6175653f 100644 (file)
@@ -58,7 +58,7 @@ static struct vg_shader _shader_model_sky = {
 "   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"
 ""},