0

Add depth tinting to cave rendermode.

This commit is contained in:
Alejandro Aguilera
2011-04-14 00:32:12 +02:00
parent 1fb77cf6e6
commit 8165ce979d
3 changed files with 33 additions and 6 deletions

View File

@@ -472,8 +472,10 @@ def generate_depthcolors():
g = 0
b = 0
for z in range(128):
img = Image.new("RGB", (24,24), (r,g,b))
depth_colors.append(img)
depth_colors.append(r)
depth_colors.append(g)
depth_colors.append(b)
if z < 32:
g += 7
elif z < 64: