Prefab Progress

This commit is contained in:
YourWishes committed 2023-01-05 17:19:32 -08:00
1 parent 124c652d65
commit c29eb885c8
4 files changed
+46 -8

No files matched your search

@@ -33,10 +33,6 @@ namespace Dawn {
this->host->mesh.createBuffers(CUBE_VERTICE_COUNT, CUBE_INDICE_COUNT);
CubeMesh::buffer(&this->host->mesh, glm::vec3(-0.5f, -0.5f, -0.5f), glm::vec3(1, 1, 1), 0, 0);
// auto param = material->getShader()->getParameterByName("u_Text");
// this->material->textureValues[param] = nullptr;
this->material->colorValues[material->getShader()->getParameterByName("u_Color")] = COLOR_RED;
std::cout << "Preab Init" << std::endl;
}
};