First shadow mapping commit
Former-commit-id: 7465a7c3297626f8db8c1ff48a20c0e0d9feb765
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#define NDK_SYSTEMS_RENDERSYSTEM_HPP
|
||||
|
||||
#include <Nazara/Graphics/ForwardRenderTechnique.hpp>
|
||||
#include <Nazara/Renderer/RenderTexture.hpp>
|
||||
#include <NDK/EntityList.hpp>
|
||||
#include <NDK/System.hpp>
|
||||
#include <unordered_map>
|
||||
@@ -31,11 +32,14 @@ namespace Ndk
|
||||
private:
|
||||
void OnEntityRemoved(Entity* entity) override;
|
||||
void OnEntityValidation(Entity* entity, bool justAdded) override;
|
||||
void UpdateShadowMaps();
|
||||
|
||||
EntityList m_cameras;
|
||||
EntityList m_drawables;
|
||||
EntityList m_lights;
|
||||
NzForwardRenderTechnique m_renderTechnique;
|
||||
NzForwardRenderTechnique m_shadowTechnique;
|
||||
NzRenderTexture m_shadowRT;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user