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:
@@ -85,6 +85,4 @@ shader node_normal_map(normal NormalIn = N,
|
|||||||
|
|
||||||
if (Strength != 1.0)
|
if (Strength != 1.0)
|
||||||
Normal = normalize(NormalIn + (Normal - NormalIn) * max(Strength, 0.0));
|
Normal = normalize(NormalIn + (Normal - NormalIn) * max(Strength, 0.0));
|
||||||
|
|
||||||
Normal = ensure_valid_reflection(Ng, I, Normal);
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user