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:
Brian Beck 2025-12-07 14:01:26 -08:00
parent 035812724d
commit 3ba1ce9afd
927 changed files with 632 additions and 215 deletions

View file

@ -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