Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMai Lavelle <mai.lavelle@gmail.com>2016-09-02 07:41:04 +0300
committerMai Lavelle <mai.lavelle@gmail.com>2016-09-03 23:07:49 +0300
commit65afa1b7d02a90d0edf6743e61319a9e71da32cd (patch)
tree830da0dc543ce884e633528b8d8412c576badc23 /intern/cycles/kernel/shaders/node_output_displacement.osl
parentd2429d5244b8cddb16cd475a20ed5d18346b40c6 (diff)
Cycles: Fix bump mapping to use object space when used with true displacement
Bump mapping was happening in world space while displacement happens in object space, causing shading errors when displacement type was used with bump mapping. To fix this the proper transforms are added to bump nodes. This is only done for automatic bump mapping however, to avoid visual changes from other uses of bump mapping. It would be nice to do this for all bump mapping to be consistent but that will have to wait till we can break compatibility.
Diffstat (limited to 'intern/cycles/kernel/shaders/node_output_displacement.osl')
0 files changed, 0 insertions, 0 deletions