mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2025-01-11 09:20:17 +01:00
Increase base transparency from 45% to 50%.
This commit is contained in:
parent
f3ed470d57
commit
121a046eee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user