forked from blender/blender
MaterialX: code improvements shader modes. #35
No reviewers
Labels
No Label
No Milestone
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: DagerD/blender#35
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Vasyl-Pidhirskyi/blender:matx-shader_nodes-polishing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
dielectric_bsdf
with Reflection and Transmission components (scatter = RT)."""dielectric_bsdf: A reflection/transmission BSDF node based on a microfacet model and a Fresnel curve for dielectrics."""
Roughness
input affects the node's effect.Technical Steps
tangent
node.conductor_bsdf
node as far asdielectric_bsdf
node already has a reflection component soconductor_bsdf
seems redundant.weight
input forsheen_bsdf
, as far as it affects the node's effect.This needs more explanation other than "code improvements".
@ -327,7 +327,6 @@ NodeItem NodeItem::dotproduct(const NodeItem &other) const
NodeItem item1 = to_vector();
NodeItem item2 = other.to_vector();
cast_types(item1, item2);
Why this was removed?
Seems it could produce error when we try to do dotproduct vector2 by float or by vector3
Agree, reverted changes.
Sure, updated the description.
Looks good
weight
input, as far as it affects the node's effect. 5b07653e88