png
This commit is contained in:
parent
756e98fe9f
commit
63b5954631
2 changed files with 3 additions and 3 deletions
BIN
data/img/background_3.png
Normal file
BIN
data/img/background_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.6 MiB |
|
@ -42,7 +42,7 @@ namespace endofthejedi {
|
|||
addModel("../data/mesh/ship_ufo.stl", &m_shipModel);
|
||||
|
||||
m_texture = nullptr;
|
||||
m_backgroundTexturePath = "../data/img/test.png";
|
||||
m_backgroundTexturePath = "../data/img/background_3.png";
|
||||
loadBackgroundTexture();
|
||||
|
||||
developer::DeveloperConsole::instance().addCallback("reload_bg", [=](const std::string &)
|
||||
|
@ -475,7 +475,7 @@ namespace endofthejedi {
|
|||
exit(-1);
|
||||
}
|
||||
|
||||
(*dest)->setup(&m_shader_game_objects);
|
||||
(*dest)->setup(&m_shader_game_objects);
|
||||
(*dest)->uploadToOpenGl();
|
||||
|
||||
m_models.push_back(*dest);
|
||||
|
@ -563,7 +563,7 @@ namespace endofthejedi {
|
|||
|
||||
// TODO: use the sun planet color for this!
|
||||
glm::vec3 c = glm::vec3(1.0, 1.0, 0.8);
|
||||
glm::vec3 p = glm::vec3(0.3f, 0.4f, 0.0f);
|
||||
glm::vec3 p = glm::vec3(0.3f, 0.4f, 0.0f);
|
||||
|
||||
for (const game::Planet *planet : m_state->planets) {
|
||||
if (planet->material == game::Planet::Material::Sun) {
|
||||
|
|
Loading…
Reference in a new issue