diff --git a/mapblockrenderer/renderer.go b/mapblockrenderer/renderer.go index 3118f44..cae4b72 100644 --- a/mapblockrenderer/renderer.go +++ b/mapblockrenderer/renderer.go @@ -142,6 +142,9 @@ func (r *MapBlockRenderer) Render(pos1, pos2 *types.MapBlockCoords) (*image.NRGB continue } + // clamp alpha channel to max + c.A = 255 + if r.enableShadow { var left, leftAbove, top, topAbove string