Light Culling still doesn't work properly

This commit is contained in:
Dynamitos
2022-02-24 22:38:26 +01:00
parent 5268bb68e2
commit 84049a762c
44 changed files with 163 additions and 151 deletions
+2 -2
View File
@@ -27,12 +27,12 @@ void MaterialLoader::importAsset(const std::filesystem::path& name)
import(name, asset);
}
Job MaterialLoader::import(std::filesystem::path, PMaterialAsset asset)
void MaterialLoader::import(std::filesystem::path, PMaterialAsset asset)
{
asset->load();
graphics->getShaderCompiler()->registerMaterial(asset);
AssetRegistry::get().registerMaterial(asset);
co_return;
//co_return;
}
PMaterialAsset MaterialLoader::getPlaceHolderMaterial()