Basic light culling but without the culling

This commit is contained in:
Dynamitos
2021-06-12 18:51:29 +02:00
parent 22adb08bfc
commit 7f019a28b4
17 changed files with 122 additions and 63 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ void AssetRegistry::importFile(const std::string &filePath)
{
get().importTexture(fsPath);
}
if (extension.compare(".semat") == 0)
if (extension.compare(".asset") == 0)
{
get().importMaterial(fsPath);
}
+2 -1
View File
@@ -16,9 +16,10 @@ public:
virtual void load() override;
void addMesh(PMesh mesh);
const Array<PMesh> getMeshes();
//Workaround while no editor
Array<PMaterialAsset> referencedMaterials;
private:
Array<PMesh> meshes;
Array<PMaterialAsset> referencedMaterials;
};
DEFINE_REF(MeshAsset)
} // namespace Seele