Changing a few lighting paramters for testing.
This commit is contained in:
parent
e8ad41c75b
commit
777bce286d
4
level.cc
4
level.cc
@ -55,9 +55,9 @@ void Level::load(ACGL::OpenGL::SharedShaderProgram shader) {
|
|||||||
//set lighting parameters
|
//set lighting parameters
|
||||||
ambientLight = glm::vec3(1.0f, 1.0f, 1.0f);
|
ambientLight = glm::vec3(1.0f, 1.0f, 1.0f);
|
||||||
directionalLight = Light(glm::vec3(-0.5f, 0.0f, -0.5f), glm::vec3(1.0f, 1.0f, 0.0f), 0.4f);
|
directionalLight = Light(glm::vec3(-0.5f, 0.0f, -0.5f), glm::vec3(1.0f, 1.0f, 0.0f), 0.4f);
|
||||||
Light light = Light(glm::vec3(-3.0f, 7.0f, 0.0f), glm::vec3(1.0f, 1.0f, 1.0f), 10.0f);
|
Light light = Light(glm::vec3(-3.0f, 7.0f, 0.0f), glm::vec3(1.0f, 1.0f, 1.0f), 5.0f);
|
||||||
lights.push_back(light);
|
lights.push_back(light);
|
||||||
Light light2 = Light(glm::vec3(3.0f, 6.0f, 0.0f), glm::vec3(1.0f, 1.0f, 1.0f), 10.0f);
|
Light light2 = Light(glm::vec3(3.0f, 7.0f, 0.0f), glm::vec3(1.0f, 1.0f, 1.0f), 10.0f);
|
||||||
lights.push_back(light2);
|
lights.push_back(light2);
|
||||||
|
|
||||||
// load terrain
|
// load terrain
|
||||||
|
Loading…
Reference in New Issue
Block a user