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:
@@ -28,6 +28,7 @@ if str(_HERE) not in sys.path:
|
||||
from bl_bake import output_stem # noqa: E402
|
||||
from bl_decimate import model_format # noqa: E402
|
||||
from mt_run import find_blender, run_blender_script # noqa: E402
|
||||
from png_compress import compress_pngs # noqa: E402
|
||||
|
||||
|
||||
def _now_iso() -> str:
|
||||
@@ -211,6 +212,9 @@ def run_pipeline(
|
||||
],
|
||||
blender_args=("-t", "1"),
|
||||
)
|
||||
compress_pngs(
|
||||
str(bake_dir / fname) for fname in (bake.get("outputs") or {}).values()
|
||||
)
|
||||
|
||||
xpbr_dir = None
|
||||
xpbr_summary = None
|
||||
|
||||
Reference in New Issue
Block a user