Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

Downscaling a texture then upscaling a canvas.

$
0
0

Is information / quality lost when you downscale a high resolution image in a scene and then increase the scale of the canvas element?  In other words, is this effectively upscaling AFTER downscaling the image, or is the image effectively downscaled less?  The latter would be expected to have better quality than the former.  And it appears that the former is happening.

If quality is lost, is there a better way to be responsive and fill the window as far as possible while maintaining aspect ratio?  Ideally, I wouldn't want to rescale the coordinate system - the renderer width and height.


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>