glider orphan / entity normals with scale
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / model_sky_space.h
index 83095509f465aec8ae190b6966ef5fb4230d03a1..c96f2c4bb19531453a7f51ebec84f5018ef97124 100644 (file)
@@ -58,7 +58,7 @@ static struct vg_shader _shader_model_sky_space = {
 "   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"
 ""},