Fix T94737: Cycles wrong normal map normal with OSL

Ensure valid reflection was moved elsewhere, should not be done in the node
anymore.
This commit is contained in:
Brecht Van Lommel
2022-01-13 00:49:58 +01:00
parent 0cf2fafd81
commit 7bb572f208

View File

@@ -85,6 +85,4 @@ shader node_normal_map(normal NormalIn = N,
if (Strength != 1.0)
Normal = normalize(NormalIn + (Normal - NormalIn) * max(Strength, 0.0));
Normal = ensure_valid_reflection(Ng, I, Normal);
}