PXL8 - a pixelated render target.
I wanted a simple and generic way to pixelate SFML output so I created PXL8.
You're welcome to use it as much as you like - in projects, studying - and feel free to suggest better ways of writing the code, features that it should have, or any bugs that I have missed.
You can use views with it and draw to it like a normal render target. It supplies you with its pixelated render as a standard sprite, ready to draw to your window as normal.
You can specify the size of the pixel - it does so in each frame in the example provided - by both dimensions (width and height) separately, if you desire.
I'd show you an image with a screenshot but I think you all know what pixelation looks like
Let me know what you think and I'd like to see projects that are making some use of this
I'm providing only source code - no builds - so you will need to compile it yourself, either within your projects or separately. If you do use it, I'd love some credit but you're not required to do so
Here is the
PXL8 GitHub repository.