this screenshot demonstrates one issue I am seeing when rendering pixel art stuff with opengl. I have the camera in a non-pixel aligned position (i.e. there are numbers after the decimal point). the horizontal line artifacts are pixels from a neighboring tile in the tileset that have been incorrectly (in this case) sampled. I have tried simply aligning the camera to pixels but the scrolling doesn't appear smooth.

@dthompson Given the non-pixel aligned x-coordinate, my gut is perplexed by the absence of vertical line artifacts. Something is working in your favor there.


@clh3 depending on the scroll position those will happen, too. little differences in floating point numbers will cause the nearest neighbor texture filtering to select a different incorrect pixel.

Sign in to participate in the conversation

On the internet, everyone knows you're a cat — and that's totally okay.