JaCzekanski / Avocado

🥑 PlayStation 1 emulator
GNU General Public License v2.0
545 stars 30 forks source link

Transparancy issue - glitch "line" #18

Closed JaCzekanski closed 5 years ago

JaCzekanski commented 6 years ago

When drawing two triangles which have one edge in common transparency issue apprears: 2018-06-08_02h25_56

Mostly visible on fading screens (Crash1 startup screen). Probably bug in rasterizer algorithm.

JaCzekanski commented 5 years ago

Subpixel precision (1bit more should do) will resolve this issue.

JaCzekanski commented 5 years ago

Fill rule had to be implemented to prevent double writes to the same pixel - it finally resolved these transparency glitches. Fixed in 55621f3d3a251c2c56a0dc419e40222e3799b33b