implemented alpha texture repository

This commit is contained in:
Sandro Sobczyński
2020-10-31 13:58:20 +01:00
parent 3cfe7ba8f1
commit 885e8b4f2b
12 changed files with 186 additions and 29 deletions
+2
View File
@@ -93,6 +93,8 @@ void Ari::onInit()
test = new Mesh();
Vector3 testpos = Vector3(0.0F, 10.0F, 0.0F);
test->loadObj("objanim/", "untitled", testpos, 10.0F, 2);
texRepo->addByMesh("objanim/", *test);
// MeshTexture **textures = texRepo->getAll();
test->playAnimation(0, 1);
test->shouldBeBackfaceCulled = true;
// test->shouldBeFrustumCulled = true;