In phase 5

This commit is contained in:
2026-10-16 15:24:34 +03:00
parent e58c061709
commit 136013440e
24 changed files with 6001 additions and 1761 deletions
+7
View File
@@ -51,6 +51,13 @@ foreach(VEHICLE_FILE ${VEHICLES_GEN_SRC})
list(APPEND VEHICLE_OUTPUT_FILES ${VEHICLE_OUTPUT_FILE} ${CMAKE_BINARY_DIR}/resources/vehicles/${FILE_NAME}.scene ${VEHICLE_JSON_FILE})
endforeach()
# Shared merged-material vehicle shader (one ID-map material per car;
# gen_vehicle.py writes the per-car .material referencing these
# programs; see vehicles/CAR_MODELING.md). Staged next to the
# generated .material files.
file(COPY vehicle_idmap.vert vehicle_idmap.frag vehicle_idmap.program
DESTINATION ${CMAKE_BINARY_DIR}/resources/vehicles)
add_custom_target(import_vehicles ALL DEPENDS ${VEHICLE_OUTPUT_FILES})
# One-step vehicle refresh: re-export changed .blend files (import_vehicles),
Binary file not shown.