Cycles: add Displacement node.

This converts object space height to world space displacement, to be
linked to the new vector displacement material output.

Differential Revision: https://developer.blender.org/D3015
This commit is contained in:
2018-01-13 13:11:03 +01:00
parent 2838cf0dfe
commit 4a5ee1a5a2
16 changed files with 186 additions and 5 deletions

View File

@@ -271,6 +271,7 @@ shader_node_categories = [
ShaderNewNodeCategory("SH_NEW_OP_VECTOR", "Vector", items=[
NodeItem("ShaderNodeMapping"),
NodeItem("ShaderNodeBump"),
NodeItem("ShaderNodeDisplacement"),
NodeItem("ShaderNodeNormalMap"),
NodeItem("ShaderNodeNormal"),
NodeItem("ShaderNodeVectorCurve"),