Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorEvan Goers <mega@osirion.org>2012-01-08 11:16:35 +0000
committerEvan Goers <mega@osirion.org>2012-01-08 11:16:35 +0000
commita8a92cee21e1e5fba3d312bf3043b4e1b96d5576 (patch)
treeb3a4d28ff4b988eb64d58536fae4b54bdf22b47e /src/core
parent848310a1521d81fd0500628daf33d2cc84b67e62 (diff)
Implemented zone ambient color usage in renderer.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/zone.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/zone.cc b/src/core/zone.cc
index f33fc60..8050716 100644
--- a/src/core/zone.cc
+++ b/src/core/zone.cc
@@ -118,7 +118,7 @@ void Zone ::clear()
Zone::Zone(std::string const & label) :
Label(label),
- zone_ambient_color(1.0f, 1.0f, 1.0f)
+ zone_ambient_color(0.1f, 0.1f, 0.1f)
{
zone_id = 0;
zone_defaultview = 0;
@@ -138,7 +138,7 @@ Zone::Zone(std::string const & label) :
Zone::Zone(std::istream & is) :
Label(),
- zone_ambient_color(1.0f, 1.0f, 1.0f)
+ zone_ambient_color(0.1f, 0.1f, 0.1f)
{
zone_id = 0;
zone_defaultview = 0;
@@ -276,7 +276,7 @@ void Zone::serialize_server_update(std::ostream & os) const
void Zone::receive_server_update(std::istream &is)
{
unsigned int id = 0;
- float r = 1.0f, g = 1.0f, b = 1.0f;
+ float r = 0.1f, g = 0.1f, b = 0.1f;
std::string n;
char c;