texture seeds
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user