* sun now behind
This commit is contained in:
parent
62e38d1d0b
commit
ebe9fda67d
2 changed files with 2 additions and 1 deletions
|
|
@ -150,6 +150,7 @@ namespace endofthejedi {
|
|||
|
||||
glm::vec3 c = planet->getColor();
|
||||
glUniform3f(m_shader.location("color"), c.x, c.y, c.z);
|
||||
glUniform3f(m_shader.location("lightpos"), 0.5f, 0.5f, -4.0f);
|
||||
|
||||
m_planetModel->render(m_shader);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue