diff options
author | Alexander Romanov <a.romanov@blend4web.com> | 2016-07-04 11:08:48 +0300 |
---|---|---|
committer | Alexander Romanov <a.romanov@blend4web.com> | 2016-07-04 11:08:48 +0300 |
commit | 4aaf5baccf1b2f6bb0d618ab5005848431e168d0 (patch) | |
tree | 3fb91f05f76e0e713deaaaa597a44d63b439f702 /source/blender/nodes | |
parent | fe44eacf78736f99bdfd3bc3ac86abd17e8ad514 (diff) |
Fix input for Texture node (envmap+world_space_shading)
This patch fixes shortcoming of D2046.
The original behavior without world_space_shading flag is that Texture node expects the reflected vector in view space. But with world_space_shading it should be in world space.
In attached file you will see a simple material setup and a node material analogue.
Simple material must have the same behavior regardless world_space_shading flag.
{F318866}
Alexander (Blend4Web Team)
Reviewers: brecht
Reviewed By: brecht
Subscribers: campbellbarton, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov
Differential Revision: https://developer.blender.org/D2072
Diffstat (limited to 'source/blender/nodes')
0 files changed, 0 insertions, 0 deletions