Materials
Example Materials
Blender Materials
You can create a material and then override any of it’s properties. When you start prettymol
compositing is enabled so you can use emission
to make objects glow. The material is based on Blender’s Principled BSDF which should allow you to create essentially any arbitrary material surface.
class BSDFPrincipled():
float, float, float, float] = (0.8, 0.8, 0.8, 1.0)
base_color: Tuple[float = 0.0
metallic: float = 0.2
roughness: float = 1.45
ior: float = 1.0
alpha: float, float, float] = (0.0, 0.0, 0.0)
normal: Tuple[float = 0.0
weight: float = 0.0
diffuse_roughness: float = 0.0
subsurface_weight: float, float, float] = (1.0, 0.2, 0.1)
subsurface_radius: Tuple[float = 0.05
subsurface_scale: float = 1.4
subsurface_ior: float = 0.0
subsurface_anisotropy: float = 0.5
specular_ior_level: float, float, float, float] = (1.0, 1.0, 1.0, 1.0)
specular_tint: Tuple[float = 0.0
anisotropic: float = 0.0
anisotropic_rotation: float, float, float] = (0.0, 0.0, 0.0)
tangent: Tuple[float = 0.0
transmission_weight: float = 0.0
coat_weight: float = 0.03
coat_roughness: float = 1.5
coat_ior: float, float, float, float] = (1.0, 1.0, 1.0, 1.0)
coat_tint: Tuple[float, float, float] = (0.0, 0.0, 0.0)
coat_normal: Tuple[float = 0.0
sheen_weight: float = 0.5
sheen_roughness: float, float, float, float] = (0.5, 0.5, 0.5, 1.0)
sheen_tint: Tuple[float, float, float, float] = (0.0, 0.0, 0.0, 1.0)
emission_color: Tuple[float = 0.0
emission_strength: float = 0.0
thin_film_thickness: float = 1.3 thin_film_ior: