lovebrew / lovepotion

LÖVE for Nintendo Homebrew
https://lovebrew.org
Other
552 stars 42 forks source link

[BUG] Drawing a roundrectangle with transparency has alpha blending issues. #143

Closed Nehemek closed 3 years ago

Nehemek commented 3 years ago

Describe the bug

When drawing a roundrectangle with any type of transparency the different components that make up a roundrectangle get a cummulative alpha blending.

Expected behavior

Alpha across a roundrectangle should be uniform.

Relevant Code To Reproduce

love.graphics.setColor(1,1,1,.35) love.graphics.rectangle("fill",2,2,36,36,4,4)

[Screenshots]

roundrectanglealpga

System Info [Please complete the following information]:

System: 3ds v11.14.0-46U CFW: Luma v10.2.1 Method of execution: Homebrew App LÖVE Potion version: Artifact generated by commit #dbe48f

TurtleP commented 3 years ago

Fixed in 2b7c0e75