Skip to content

Commit

Permalink
alpha channel temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Jun 28, 2024
1 parent f1c698c commit d20d99d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mapblockrenderer/renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d20d99d

Please sign in to comment.