Fix cycles OSL wrong reflection texture coordinate.

This commit is contained in:
Brecht Van Lommel
2012-11-22 22:24:34 +00:00
parent ff94827965
commit a72c03bc1c
2 changed files with 5 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ shader node_texture_coordinate(
Camera = transform("camera", P);
Window = transform("NDC", P);
Normal = transform("world", "object", NormalIn);
Reflection = reflect(I, NormalIn);
Reflection = -reflect(I, NormalIn);
}
if (bump_offset == "dx") {