Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - teyteydragon

Pages: [1]
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?

Pages: [1]
anything