The MultiPipeline.batchSprite method (which is also used by the Single Pipeline and Mobile Pipeline) will no longer use roundPixels when calculating the quad vertex data. It also won't apply it to any of the sprite values. This is all now handled in the shader directly.

This commit is contained in:
Richard Davey 2023-11-07 18:37:34 +00:00
parent 7590600b5e
commit f96b557f4c

View file

@ -397,7 +397,7 @@ var MultiPipeline = new Class({
// Multiply by the Sprite matrix, store result in calcMatrix
camMatrix.multiply(spriteMatrix, calcMatrix);
var quad = calcMatrix.setQuad(x, y, x + frameWidth, y + frameHeight, camera.roundPixels);
var quad = calcMatrix.setQuad(x, y, x + frameWidth, y + frameHeight, false);
var getTint = Utils.getTintAppendFloatAlpha;
var cameraAlpha = camera.alpha;