mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-02-13 19:53:52 +00:00
improve lighting, shadows, fix terrain triangle geometry
This commit is contained in:
parent
4e5a0327a0
commit
bcf4f4a1a5
1232 changed files with 629 additions and 207 deletions
|
|
@ -101,6 +101,9 @@ for i, in_path in enumerate(input_files, start=1):
|
|||
export_yup=True,
|
||||
# Export lightmap textures connected to emissive (even with 0 strength)
|
||||
export_unused_textures=True,
|
||||
# Draco compression
|
||||
export_draco_mesh_compression_enable=True,
|
||||
export_draco_mesh_compression_level=6,
|
||||
)
|
||||
if "FINISHED" not in res:
|
||||
failure_count += 1
|
||||
|
|
|
|||
|
|
@ -103,6 +103,9 @@ for i, in_path in enumerate(input_files, start=1):
|
|||
# Blender and T2 are Z-up, but these assets are destined for Three.js which
|
||||
# is Y-up. It's easiest to match the Y-up of our destination engine.
|
||||
export_yup=True,
|
||||
# Draco compression
|
||||
export_draco_mesh_compression_enable=True,
|
||||
export_draco_mesh_compression_level=6,
|
||||
)
|
||||
if "FINISHED" not in res:
|
||||
failure_count += 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue