From 121a046eee7e96ea9f9b6709a4e8fb561d1e338f Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Mon, 27 Oct 2014 21:42:09 +0100 Subject: [PATCH] Increase base transparency from 45% to 50%. --- common/colors.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/colors.go b/common/colors.go index f463825..83044bf 100644 --- a/common/colors.go +++ b/common/colors.go @@ -115,8 +115,8 @@ func (colors *Colors) BlendColors(span *Span, col color.RGBA, pos int32) color.R } const scale = float32(1) / float32(100) for ; curr != nil; curr = curr.Next { - // At least 45% attenuation + 2% extra for each depth meter. - factor := float32(min(100, 45+(curr.To-curr.From)*2)) * scale + // At least 50% attenuation + 2% extra for each depth meter. + factor := float32(min(100, 50+(curr.To-curr.From)*2)) * scale col = BlendColor(colors.Colors[curr.Value], col, factor) } return col