1
1

Fix T98251: EEVEE: Regression: Wrong normalmaps on scaled objects

This was caused by a missing `normalize`.
This commit is contained in:
2022-05-23 17:16:15 +02:00
parent 5565d79057
commit 7542dc460f

View File

@@ -117,7 +117,7 @@ vec3 attr_load_orco(vec4 orco)
vec4 attr_load_tangent(vec4 tangent)
{
tangent.xyz = normal_object_to_world(tangent.xyz);
tangent.xyz = safe_normalize(normal_object_to_world(tangent.xyz));
return tangent;
}