pypbr.blending.HeightBlend
- class pypbr.blending.HeightBlend(blend_width: float = 0.1, shift: float = 0.0)[source]
Bases:
BlendMethodBlend two materials based on their height maps.
- Parameters:
blend_width (float) – Controls the sharpness of the blending transition.
shift (float) – Shifts the blending transition vertically. Positive values raise the blending height, while negative values lower it. Defaults to 0.0.
- __init__(blend_width: float = 0.1, shift: float = 0.0)[source]
Methods
__init__([blend_width, shift])