From aa74abe4b672d50f5296c48b42193ce2e69fda97 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Fri, 30 Sep 2011 10:47:13 -0500 Subject: [PATCH] Add 'nethershadows' lighting (accurate for more gradual light dropoff in nether) --- src/main/resources/lightings.txt | 5 +++++ src/main/resources/templates/nether-hires.txt | 2 +- src/main/resources/templates/nether-lowres.txt | 2 +- src/main/resources/templates/nether.txt | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/resources/lightings.txt b/src/main/resources/lightings.txt index 935cd856..e2d5ebaf 100644 --- a/src/main/resources/lightings.txt +++ b/src/main/resources/lightings.txt @@ -33,3 +33,8 @@ lightings: shadowstrength: 1.0 ambientlight: 8 night-and-day: true + # Shadows enabled nether + - class: org.dynmap.hdmap.ShadowHDLighting + name: nethershadows + shadowstrength: 0.5 + \ No newline at end of file diff --git a/src/main/resources/templates/nether-hires.txt b/src/main/resources/templates/nether-hires.txt index bab2765b..b6c6abd3 100644 --- a/src/main/resources/templates/nether-hires.txt +++ b/src/main/resources/templates/nether-hires.txt @@ -32,7 +32,7 @@ templates: prefix: nt perspective: iso_SE_30_hires shader: stdtexture - lighting: shadows + lighting: nethershadows # Map background color (day or night) background: "#300806" mapzoomin: 1 diff --git a/src/main/resources/templates/nether-lowres.txt b/src/main/resources/templates/nether-lowres.txt index e31bbd42..75c89820 100644 --- a/src/main/resources/templates/nether-lowres.txt +++ b/src/main/resources/templates/nether-lowres.txt @@ -33,7 +33,7 @@ templates: prefix: nt perspective: iso_SE_60_lowres shader: stdtexture - lighting: default + lighting: nethershadows # Map background color (day or night) background: "#300806" # Adjust extra zoom in levels - default is 2 diff --git a/src/main/resources/templates/nether.txt b/src/main/resources/templates/nether.txt index f787b980..39fab15b 100644 --- a/src/main/resources/templates/nether.txt +++ b/src/main/resources/templates/nether.txt @@ -34,5 +34,6 @@ templates: prefix: nt maximumheight: 127 colorscheme: default + shadowstrength: 0.5 # Map background color (day or night) background: "#300806"