Skip to content

Commit

Permalink
Reduce the lighting in room to make it work with a simple clamp
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgalindo committed Dec 21, 2016
1 parent 7907ab5 commit a69c993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/scene/sceneSamples.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ Scene Room()
//////////////////////////////

// Sun.
scene.AddLightSource(PointLight(Point(-1.5f, 0.9f, 0.45f), 100, (RED + RED + YELLOW) / 3));
scene.AddLightSource(PointLight(Point(-1.5f, 0.9f, 0.45f), 5, (RED + RED + YELLOW) / 3));

//////////////////////////////
//// Making a table //////////
Expand Down Expand Up @@ -608,7 +608,7 @@ Scene Room()
//////////////////////////////

Sphere environment(Point(0, 0, 0), 20);
environment.SetEmittedLight(SKY_BLUE, 40);
environment.SetEmittedLight(SKY_BLUE, 1);
scene.AddShape(environment);

return scene;
Expand Down

0 comments on commit a69c993

Please sign in to comment.