material_presets¶
Ready-to-use PBR material presets.
The presets are reusable material configuration objects intended for
Mob.set_material:
from algan import *
table = Prism().set_material(WOOD).spawn()
window = Prism(color=BLUE_A).set_material(GLASS).spawn()
Presets with color=None preserve the Mob’s existing color. Presets named
for a naturally colored substance (for example WOOD and COPPER)
provide a representative base color. These presets describe surface response
and, where appropriate, a flat base color; they do not add texture maps.