Skip to content

material

FreeBodyEngine.graphics.pbr.material #

PBRMaterial(data, injector=None) #

Bases: Material

A Material with the engine's built-in PBR property set.

Declares the standard PBR property_definitions (albedo/normal/ emmisive/roughness/metallic) and defers everything else to Material.init - picking the forward-lit shader pair as this pipeline's default for a non-opaque blend mode (an explicit shader block in the .fbmat still wins - see Material.init), since PBRPipeline's deferred G-buffer can only hold one opaque surface per pixel and can't represent a blended one at all.