HackerPoet / MarbleMarcher

A Fractal Physics Game
GNU General Public License v2.0
2.48k stars 168 forks source link

Smoothing and windowed mode pixel size #16

Closed still-flow closed 2 years ago

still-flow commented 5 years ago

When using fullscreen on lower resolutions, the image looks way too blurry (may be subjective). Hence a switch to choose between smoothed and crisp upscaling could be useful. Comparison for potato quality (1366x768 native resolution): nosmooth smooth

Adding ability to select pixel size for windowed mode also seemed prudent (on lower quality settings the window is just too small). This is accomplished by always rendering into renderTexture first, applying pixelSize multiplier as necessary. Not sure about performance impact this might have though. Comparison for potato quality (1x vs 3x without smoothing vs 3x with smoothing): potato_1x potato_3x_nosm potato_3x_sm

HackerPoet commented 5 years ago

Still not sure how I feel about this; interpolated or pixelated aren't that different and I'm not sure it's worth adding a menu option for.

still-flow commented 5 years ago

Well, you may be right, it only becomes noticeable when you have some extreme upscaling (basically, when your PC is a potato). What do you think about the other proposal?