public Material(name as String = "", baseColor as LinearColor = LinearColor(), metallic as Float = 0.0f, roughness as Float = 0.5f, emission as LinearColor = LinearColor(0.0f, 0.0f, 0.0f), doubleSided as Boolean = false)
Creates an immutable material; rejects invalid factors and transparent colors. Example: material = Material("plastic", metallic=0.0f)