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:
Diffstat (limited to 'intern/cycles/scene')
-rw-r--r--intern/cycles/scene/shader_nodes.cpp3
-rw-r--r--intern/cycles/scene/shader_nodes.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/intern/cycles/scene/shader_nodes.cpp b/intern/cycles/scene/shader_nodes.cpp
index f8412a430d1..3a11b9301e2 100644
--- a/intern/cycles/scene/shader_nodes.cpp
+++ b/intern/cycles/scene/shader_nodes.cpp
@@ -2744,7 +2744,6 @@ NODE_DEFINE(PrincipledBsdfNode)
SOCKET_IN_COLOR(base_color, "Base Color", make_float3(0.8f, 0.8f, 0.8f));
SOCKET_IN_COLOR(subsurface_color, "Subsurface Color", make_float3(0.8f, 0.8f, 0.8f));
SOCKET_IN_FLOAT(metallic, "Metallic", 0.0f);
- SOCKET_IN_FLOAT(metallic_falloff, "Metallic Falloff", 0.2f);
SOCKET_IN_COLOR(metallic_edge, "Metallic Edge", make_float3(1.0f, 1.0f, 1.0f));
SOCKET_IN_FLOAT(subsurface, "Subsurface", 0.0f);
SOCKET_IN_FLOAT(subsurface_scale, "Subsurface Scale", 0.0f);
@@ -2930,7 +2929,7 @@ void PrincipledBsdfNode::compile_v2(SVMCompiler &compiler)
compiler.stack_assign(input("Subsurface Anisotropy")),
compiler.stack_assign(input("Subsurface Radius")),
subsurface_method);
- uint metallic = compiler.encode_uchar4(compiler.stack_assign(input("Metallic Falloff")),
+ uint metallic = compiler.encode_uchar4(SVM_STACK_INVALID,
compiler.stack_assign(input("Metallic Edge")),
SVM_STACK_INVALID,
distribution);
diff --git a/intern/cycles/scene/shader_nodes.h b/intern/cycles/scene/shader_nodes.h
index 37823fb199b..bec1a70f4b5 100644
--- a/intern/cycles/scene/shader_nodes.h
+++ b/intern/cycles/scene/shader_nodes.h
@@ -536,7 +536,6 @@ class PrincipledBsdfNode : public BsdfBaseNode {
NODE_SOCKET_API(float, subsurface_ior)
NODE_SOCKET_API(float, subsurface_anisotropy)
NODE_SOCKET_API(float, metallic)
- NODE_SOCKET_API(float, metallic_falloff)
NODE_SOCKET_API(float3, metallic_edge)
NODE_SOCKET_API(float, subsurface)
NODE_SOCKET_API(float, subsurface_scale)