HackerPoet / MarbleMarcher

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

Add a switch for fullscreen smoothing and ability to select pixel size in windowed mode #15

Closed still-flow closed 5 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): lvl1_nosmooth lvl1_smooth

still-flow commented 5 years ago

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, then drawing it to the main window, applying pixelSize multiplier as necessary. Not sure about performance impact this might have.

still-flow commented 5 years ago

Sorry, I've made a bit of a mess with my branch names and commits and whatnot. I'll try to clean it up and will then resubmit.