Fix #35505: cycles object space normal mapping did not match blender internal.

Now it uses the same (strange) YZ flipping convention.
This commit is contained in:
2013-05-27 17:48:02 +00:00
parent 833ca58260
commit 601b8c1041
3 changed files with 23 additions and 4 deletions

View File

@@ -2273,6 +2273,11 @@ void node_object_info(out vec3 location, out float object_index, out float mater
random = 0.0;
}
void node_normal_map(float strength, vec4 color, vec3 N, out vec3 result)
{
result = N;
}
void node_bump(float strength, float dist, float height, vec3 N, out vec3 result)
{
result = N;