Graphics: Prepare dynamic reflections

This commit is contained in:
Lynix
2017-10-10 18:28:15 +02:00
parent c763dea4e1
commit d1eac591f5
3 changed files with 41 additions and 9 deletions

View File

@@ -52,6 +52,7 @@ namespace Ndk
void OnEntityValidation(Entity* entity, bool justAdded) override;
void OnUpdate(float elapsedTime) override;
void UpdateDynamicReflections();
void UpdateDirectionalShadowMaps(const Nz::AbstractViewer& viewer);
void UpdatePointSpotShadowMaps();
@@ -63,6 +64,7 @@ namespace Ndk
EntityList m_lights;
EntityList m_pointSpotLights;
EntityList m_particleGroups;
EntityList m_realtimeReflected;
GraphicsComponentCullingList m_drawableCulling;
Nz::BackgroundRef m_background;
Nz::DepthRenderTechnique m_shadowTechnique;