Search found 2 matches

by Benedict Ide
Wed Apr 11, 2018 5:11 pm
Forum: Support and Development
Topic: Partial transparency bug (when drawing quad to canvas?)
Replies: 2
Views: 1573

Re: Partial transparency bug (when drawing quad to canvas?)

The default blending is alpha blending, so when you're drawing something to a canvas, that's fine, but you should set the blendmodes to premultiplied accordingly just before drawing the canvas contents to the screen, otherwise things like this may happen. Just set my canvas drawing code to use prem...
by Benedict Ide
Wed Apr 11, 2018 3:28 pm
Forum: Support and Development
Topic: Partial transparency bug (when drawing quad to canvas?)
Replies: 2
Views: 1573

Partial transparency bug (when drawing quad to canvas?)

Hi, I've written a custom animation handling system for a game I've been working on, and it seems to be having some trouble with partial transparency. https://love2d.org/imgmirrur/tc4YlFh.png This character's got glasses, and where those glasses don't overlap the face, they're white with ~50% alpha....