Cycles: normal maps are now backwards compatible again after recent fix, with

a separate Blender Object/World Space that is compatible with Blender render
baking and uses the YZ flipping convention.
This commit is contained in:
Brecht Van Lommel
2013-05-28 14:24:03 +00:00
parent ef4db04da8
commit 33d609144e
6 changed files with 24 additions and 8 deletions

View File

@@ -3344,6 +3344,8 @@ static ShaderEnum normal_map_space_init()
enm.insert("Tangent", NODE_NORMAL_MAP_TANGENT);
enm.insert("Object", NODE_NORMAL_MAP_OBJECT);
enm.insert("World", NODE_NORMAL_MAP_WORLD);
enm.insert("Blender Object", NODE_NORMAL_MAP_BLENDER_OBJECT);
enm.insert("Blender World", NODE_NORMAL_MAP_BLENDER_WORLD);
return enm;
}