diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-06 17:56:59 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-06 17:56:59 +0100 |
commit | fb81ea7d60fa6fb879b6b35178405d6b034b9210 (patch) | |
tree | b9e387e8d154fdb30aa61740c93b902407306e5f | |
parent | 02808dcf9b905d4ada07c10c1032cfbb7ca237e1 (diff) | |
download | MinedMap-fb81ea7d60fa6fb879b6b35178405d6b034b9210.tar MinedMap-fb81ea7d60fa6fb879b6b35178405d6b034b9210.zip |
Make light layer darker
-rw-r--r-- | src/MinedMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MinedMap.cpp b/src/MinedMap.cpp index 8cf9393..8624636 100644 --- a/src/MinedMap.cpp +++ b/src/MinedMap.cpp @@ -83,7 +83,7 @@ static void addChunk(uint32_t image[DIM*DIM], uint8_t lightmap[2*DIM*DIM], size_ const World::Block &block = layer.blocks[x][z]; image[i] = htonl(block.getColor()); - lightmap[2*i+1] = (1 - block.getBlockLight()/15.f)*128; + lightmap[2*i+1] = (1 - block.getBlockLight()/15.f)*192; } } } |