Commit: b1c549059dcb777ef02015ec8e1f7f2c0da99711
Author: Weizhen Huang
Date:   Thu Dec 22 18:49:09 2022 +0100
Branches: microfacet_hair
https://developer.blender.org/rBb1c549059dcb777ef02015ec8e1f7f2c0da99711

Cleanup: remove unused variables

===================================================================

M       intern/cycles/scene/shader_nodes.h
M       source/blender/gpu/shaders/material/gpu_shader_material_hair.glsl

===================================================================

diff --git a/intern/cycles/scene/shader_nodes.h 
b/intern/cycles/scene/shader_nodes.h
index 8ba0b3e81f5..bab81cda1ac 100644
--- a/intern/cycles/scene/shader_nodes.h
+++ b/intern/cycles/scene/shader_nodes.h
@@ -909,10 +909,6 @@ class MicrofacetHairBsdfNode : public BsdfBaseNode {
 
   /* Aspect Ratio. */
   NODE_SOCKET_API(float, aspect_ratio)
-  /* Randomization factor for axis rotation. */
-  NODE_SOCKET_API(float, random_axis)
-  /* Twist rate. */
-  NODE_SOCKET_API(float, twist_rate)
 
   NODE_SOCKET_API(float, R)
   NODE_SOCKET_API(float, TT)
diff --git a/source/blender/gpu/shaders/material/gpu_shader_material_hair.glsl 
b/source/blender/gpu/shaders/material/gpu_shader_material_hair.glsl
index b12346471cf..7342e6d29a3 100644
--- a/source/blender/gpu/shaders/material/gpu_shader_material_hair.glsl
+++ b/source/blender/gpu/shaders/material/gpu_shader_material_hair.glsl
@@ -57,8 +57,6 @@ void node_bsdf_hair_microfacet(vec4 color,
                                float ior,
                                float offset,
                                float aspect_ratio,
-                               float random_axis,
-                               float twist_rate,
                                float Blur,
                                float random_color,
                                float random_roughness,

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to