Blender Git Commit Log

Git Commits -> Revision b129ea8

Revision b129ea8 by Brecht Van Lommel (master)
January 23, 2018, 11:49 (GMT)
Cycles: change material output displacement to vector.

Previously only scalar displacement along the normal was supported,
now displacement can go in any direction. For backwards compatibility,
a Displacement node will be automatically inserted in existing files.

This will make it possible to support vector displacement maps in the
future. It's already possible to use them to some extent, but requires
a manual shader node setup. For tangent space maps the right tangent
may also not be available yet, depends on the map.

Differential Revision: https://developer.blender.org/D3015

Commit Details:

Full Hash: b129ea843a7332ddd96554a8c59be379dabf2210
Parent Commit: 4a5ee1a
Lines Changed: +92, -24

10 Modified Paths:

/intern/cycles/blender/addon/version_update.py (+44, -0) (Diff)
/intern/cycles/kernel/shaders/node_output_displacement.osl (+2, -4) (Diff)
/intern/cycles/kernel/svm/svm_displace.h (+1, -9) (Diff)
/intern/cycles/render/graph.cpp (+25, -6) (Diff)
/intern/cycles/render/nodes.cpp (+1, -1) (Diff)
/intern/cycles/render/nodes.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_output_material.c (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+15, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021