Improving Material shader code generation

This commit is contained in:
Dynamitos committed 2020-09-19 14:36:50 +02:00
1 parent 6814587b54
commit facbfed79c
72 files changed
+1049 -329

No files matched your search

+3 -6
View File
@@ -5,14 +5,11 @@
using namespace Seele;
SceneRenderPath::SceneRenderPath(Gfx::PGraphics graphics, Gfx::PViewport target)
SceneRenderPath::SceneRenderPath(PScene scene, Gfx::PGraphics graphics, Gfx::PViewport target)
: RenderPath(graphics, target)
, basePass(new BasePass(scene, graphics, target))
, scene(scene)
{
scene = new Scene();
PMeshAsset asset = AssetRegistry::findMesh("Unbenannt");
PActor rootActor = new Actor();
PPrimitiveComponent primitiveComponent = new PrimitiveComponent();
basePass = new BasePass(scene, graphics, target);
}
SceneRenderPath::~SceneRenderPath()