texture seeds

This commit is contained in:
2026-07-05 09:34:07 +02:00
parent 1b0c24405b
commit 1fe41faa6b
39 changed files with 169 additions and 7 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
"""Create/refresh MAT_wgt01_* materials in wgt01.blend (run headless)."""
import bpy, os
SLOTS = ["cobble", "worn", "plaza", "sidewlk", "wall", "bridge", "gutter", "water"]
SLOTS = ["cobble", "worn", "plaza", "sidewlk", "wall", "bridge", "gutter", "water",
"fbrick", "iron", "timber", "planks", "brass", "copper", "plastr", "slate", "glass"]
BASE = os.path.dirname(bpy.data.filepath)
for slot in SLOTS:
@@ -26,7 +27,7 @@ for slot in SLOTS:
nt.links.new(ntex.outputs["Color"], nmap.inputs["Color"])
nt.links.new(nmap.outputs["Normal"], bsdf.inputs["Normal"])
# wet look: low roughness on ground slots
bsdf.inputs["Roughness"].default_value = 0.35 if slot in ("cobble", "gutter", "water") else 0.6
bsdf.inputs["Roughness"].default_value = 0.35 if slot in ("cobble", "gutter", "water", "iron", "brass", "copper", "glass") else 0.6
bpy.ops.wm.save_mainfile()
print("WIRED:", ", ".join(f"MAT_wgt01_{s}" for s in SLOTS))