mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-02-13 11:43:52 +00:00
extensive work on lighting, shadows, and fog
- use MeshLambertMaterial for interiors, terrain, and shapes - use smooth vertex normal blending to avoid facted-looking contrasty lighting between adjacent surfaces - update io_dif Blender addon to extract lightmaps - re-export .dif files to glTF with lightmaps and without LOD - enable sun, ensure correct direction - adjust fog (more work to do) - cleanup and optimization
This commit is contained in:
parent
035812724d
commit
3ba1ce9afd
927 changed files with 632 additions and 215 deletions
|
|
@ -99,6 +99,8 @@ 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,
|
||||
# Export lightmap textures connected to emissive (even with 0 strength)
|
||||
export_unused_textures=True,
|
||||
)
|
||||
if "FINISHED" not in res:
|
||||
failure_count += 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue