alpha channel temp fix

This commit is contained in:
BuckarooBanzay 2024-06-28 16:57:05 +02:00
parent f1c698c7fa
commit d20d99d19f

View File

@ -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