Graphics: Add PredefinedSkeletalData

This commit is contained in:
SirLynix
2022-08-23 18:13:18 +02:00
committed by Jérôme Leclercq
parent 987c23c3ef
commit 7ada266917
6 changed files with 54 additions and 16 deletions

View File

@@ -147,7 +147,7 @@ int main()
std::shared_ptr<Nz::Material> bobMat = std::make_shared<Nz::Material>();
std::shared_ptr<Nz::MaterialPass> bobMatPass = std::make_shared<Nz::MaterialPass>(Nz::BasicMaterial::GetSettings());
bobMatPass->SetSharedUniformBuffer(0, renderBuffer);
bobMatPass->SetSharedUniformBuffer(1, renderBuffer);
bobMatPass->EnableDepthBuffer(true);
{