Added shadow maps
This commit is contained in:
1 parent
a47306533e
commit
d8795ec076
15 files changed
+880
-6
No files matched your search
@@ -22,6 +22,7 @@
|
||||
#include "ScriptEngine.h"
|
||||
#include <unordered_map>
|
||||
#include "dialogue/DialogueSystem.h"
|
||||
#include "render/ShadowMap.h"
|
||||
#include <unordered_set>
|
||||
|
||||
namespace ZL {
|
||||
@@ -98,6 +99,8 @@ namespace ZL {
|
||||
void drawUI();
|
||||
void drawGame();
|
||||
void drawLoading();
|
||||
void drawShadowDepthPass();
|
||||
void drawGameWithShadows();
|
||||
void handleDown(int64_t fingerId, int mx, int my);
|
||||
void handleUp(int64_t fingerId, int mx, int my);
|
||||
void handleMotion(int64_t fingerId, int mx, int my);
|
||||
@@ -121,6 +124,9 @@ namespace ZL {
|
||||
//MenuManager menuManager;
|
||||
Dialogue::DialogueSystem dialogueSystem;
|
||||
//ScriptEngine scriptEngine;
|
||||
|
||||
std::unique_ptr<ShadowMap> shadowMap;
|
||||
Eigen::Matrix4f cameraViewMatrix = Eigen::Matrix4f::Identity();
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user