pypbr.blending.PropertyBlend

class pypbr.blending.PropertyBlend(property_name: str = 'metallic', blend_width: float = 0.1)[source]

Bases: BlendMethod

Blend two materials based on a specified property map.

Parameters:
  • property_name (str) – The name of the property map to use for blending (e.g., ‘metallic’, ‘roughness’).

  • blend_width (float) – Controls the sharpness of the blending transition.

__init__(property_name: str = 'metallic', blend_width: float = 0.1)[source]

Methods

__init__([property_name, blend_width])