Added full screen mode
This commit is contained in:
1 parent
348aa632dd
commit
2ee288cbe0
3 files changed
+12
-3
No files matched your search
+2
-1
@@ -147,11 +147,12 @@ namespace ZL
|
||||
}
|
||||
}
|
||||
|
||||
#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.navigationJsonPath);
|
||||
|
||||
|
||||
Reference in new issue
Block a user