We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaddfaf commit a5a2d14Copy full SHA for a5a2d14
src/PenSkin.js
@@ -309,10 +309,8 @@ class PenSkin extends Skin {
309
};
310
311
twgl.setTextureParameters(gl, texture, {
312
- // Minify using linear to look less pixelated
313
- min: gl.LINEAR,
314
- // Magnify using nearest because that's what Scratch normally does
315
- mag: gl.NEAREST
+ // Always use NEAREST because this most closely matches Scratch behavior
+ minMag: gl.NEAREST
316
});
317
twgl.setUniforms(this._drawTextureShader, uniforms);
318
twgl.drawBufferInfo(gl, this._renderer._bufferInfo, gl.TRIANGLES);
0 commit comments