Fix T98251: EEVEE: Regression: Wrong normalmaps on scaled objects
This was caused by a missing `normalize`.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user