curioustorvald / Terrarum

Modular game engine for a side-scrolling tilemap platformer, and a game that runs on top of it
Other
13 stars 0 forks source link

Resizing to odd-numbered width/height causes artefacts on render #6

Open curioustorvald opened 7 years ago

curioustorvald commented 7 years ago

Somewhat related to the issue #5, where strange lines appear on the downsampled lightmap FBO

curioustorvald commented 7 years ago

I think it's because the camera is taking .5 coord... (which they should take integer coord) haven't verified tho

curioustorvald commented 7 years ago

Mitigated with Filter.NEAREST but now it shrinks by one px...

curioustorvald commented 3 years ago

You can force screen size to be even number, except you'll lose the ability to resize the window while the game is running...