forked from bartvdbraak/blender
Cycles: Fix difference between SVM and OSL implementation of Normal node
SVM was normalizing the input normal, OSL did not. This lead to render result differences across this shading systems.
This commit is contained in:
parent
668ffcd6e9
commit
d68521df7b
@ -23,6 +23,6 @@ shader node_normal(
|
||||
output float Dot = 1.0)
|
||||
{
|
||||
NormalOut = normalize(Direction);
|
||||
Dot = dot(NormalOut, NormalIn);
|
||||
Dot = dot(NormalOut, normalize(NormalIn));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user