0

added sealevel option to HeightFading primitive

This commit is contained in:
Aaron Griffith
2012-06-05 01:09:47 -04:00
parent a60b56c507
commit f4a1c32d1a
4 changed files with 17 additions and 2 deletions

View File

@@ -52,6 +52,10 @@ class Nether(RenderPrimitive):
class HeightFading(RenderPrimitive):
name = "height-fading"
options = {
# 128 is *WRONG*, it should be 64. but we're grandfathered in for now
"sealevel": ("target sea level", 128),
}
black_color = Image.new("RGB", (24,24), (0,0,0))
white_color = Image.new("RGB", (24,24), (255,255,255))