Compress baked PNGs and tighten XPbr shadows with URP quality tweaks.
Add png_compress to the model pipeline and update TownSquare lighting plus MaleExplorer/plaza textures. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -8,6 +8,7 @@ import os
|
||||
from bl_bake import output_stem
|
||||
from bl_decimate import model_format
|
||||
from mt_run import HERE, find_blender, run_blender_script
|
||||
from png_compress import compress_pngs
|
||||
|
||||
|
||||
def main():
|
||||
@@ -38,6 +39,9 @@ def main():
|
||||
[args.high, args.low, outdir, str(args.size),
|
||||
ray, str(args.samples)],
|
||||
blender_args=("-t", "1"))
|
||||
compress_pngs(
|
||||
os.path.join(outdir, fname) for fname in (s.get("outputs") or {}).values()
|
||||
)
|
||||
print("== %s(高 %d 面 / 低 %d 面,射线距离 %.4f)-> %s" %
|
||||
(s["stem"], s["high_tris"], s["low_tris"], s["ray_distance"], outdir))
|
||||
for name, fname in s["outputs"].items():
|
||||
|
||||
Reference in New Issue
Block a user