Web version clean up

This commit is contained in:
Vladislav Khorev committed 2026-06-06 12:44:06 +03:00
1 parent 1a00e3d4a2
commit e96c9f171f
221 files changed
+224756 -1858178

No files matched your search

+2 -2
View File
@@ -120,12 +120,12 @@ namespace ZL
loadTriggerZones(params.triggerZonesJsonPath, CONST_ZIP_FILE);
loadPointLights(params.lightsJsonPath, CONST_ZIP_FILE);
#ifndef EMSCRIPTEN
//#ifndef EMSCRIPTEN
// Create shadow map (2048x2048, ortho size 40, near 0.1, far 100)
shadowMap = std::make_unique<ShadowMap>(2048, 40.0f, 0.1f, 100.0f);
shadowMap->setLightDirection(Eigen::Vector3f(-0.5f, -1.0f, -0.3f));
std::cout << "Shadow map initialized" << std::endl;
#endif
//#endif
setupNavigation(params.navigationJsonPaths);