Fixing localization bugs, working with graphics settings
This commit is contained in:
1 parent
d4365728fe
commit
9d03b52c2a
14 files changed
+354
-44
No files matched your search
@@ -168,13 +168,6 @@ namespace ZL
|
||||
loadTriggerZones(params.triggerZonesJsonPath, CONST_ZIP_FILE);
|
||||
loadPointLights(params.lightsJsonPath, CONST_ZIP_FILE);
|
||||
|
||||
//#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
|
||||
|
||||
setupNavigation(params.navigationJsonPaths);
|
||||
SDL_PumpEvents();
|
||||
|
||||
|
||||
Reference in new issue
Block a user