Prefab Progress

This commit is contained in:
2023-01-05 17:19:32 -08:00
parent 659ab3d760
commit d13984dddc
4 changed files with 46 additions and 8 deletions

View File

@ -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;
}
};