blender/release
Alexander Romanov 0da13ad1eb World space switch for BI nodes.
At the moment light shading in Blender is produced in viewspace. Apparently, that's why
shader nodes work with normals in camera space. But it is not convenient for artists.
The more convenient approach is implemented in Cycles where normals are represented in world space.
Blend4Web Team designed the engine keeping in mind shader parameters readability,
so normals are interpreted in world space as well. And now our users have to use some tweaks, like
empty node group with the name "Replace", which is replacing one input by another on the engine side
(replacing working configuration in Blender Viewport by the configuration that has the same behavior in the engine).

This patch adds the ability to switch to world space for normals and lamp vector in BI and Viewport.
This patch is very important to us and we crave to see this patch in Blender 2.7 because
it will significantly simplify Blend4Web material creation workflow.

{F315547}

{F315548}

Reviewers: campbellbarton, brecht

Reviewed By: brecht

Subscribers: homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov

Differential Revision: https://developer.blender.org/D2046
2016-06-07 10:42:29 +03:00
..
bin Simplify thumbnail blend parser 2015-08-17 12:37:38 +10:00
darwin Revert "OSX/cpack: add a dummy bg and ds_store for dmg" 2014-11-18 11:40:16 +01:00
datafiles Add license text for OCIO configuration 2016-03-29 12:54:29 +02:00
freedesktop Update of our *nix .desktop file. 2015-08-27 16:31:13 +02:00
scripts World space switch for BI nodes. 2016-06-07 10:42:29 +03:00
text Add license text for OCIO configuration 2016-03-29 12:54:29 +02:00
windows move windows out of source dir 2016-02-07 20:58:58 +11:00