1
Graphics / Emulating stencils?
« on: June 10, 2015, 04:31:51 pm »
I'm trying to draw some images to the screen and I need something like a stencil -- e.g. I want to prevent some parts of the images from being drawn. (Imaging the character fading away gradually, without drawing anything on top of it)
Essentially I need this from Love2D https://love2d.org/wiki/love.graphics.setStencil
Does anyone know how to emulate this in latest SFML?
Essentially I need this from Love2D https://love2d.org/wiki/love.graphics.setStencil
Does anyone know how to emulate this in latest SFML?