Refactoring graphics
This commit is contained in:
@@ -12,9 +12,9 @@ GameView::GameView(Gfx::PGraphics graphics, PWindow window, const ViewportCreate
|
||||
, gameInterface(dllPath)
|
||||
, renderGraph(RenderGraphBuilder::build(
|
||||
DepthPrepass(graphics, scene),
|
||||
LightCullingPass(graphics),
|
||||
LightCullingPass(graphics, scene),
|
||||
BasePass(graphics, scene),
|
||||
SkyboxRenderPass(graphics)
|
||||
SkyboxRenderPass(graphics, scene)
|
||||
))
|
||||
{
|
||||
reloadGame();
|
||||
|
||||
@@ -30,11 +30,6 @@ private:
|
||||
BasePass,
|
||||
SkyboxRenderPass
|
||||
> renderGraph;
|
||||
|
||||
DepthPrepassData depthPrepassData;
|
||||
LightCullingPassData lightCullingData;
|
||||
BasePassData basePassData;
|
||||
SkyboxPassData skyboxData;
|
||||
|
||||
PEntity camera;
|
||||
PScene scene;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include "Graphics/GraphicsResources.h"
|
||||
#include "View.h"
|
||||
#include "Graphics/RenderTarget.h"
|
||||
|
||||
namespace Seele
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user