So, I'm making a game that depends very much on stencils. I have 2 layers on the map that are drawn using the same stencil (one with the stencil normally, and the other with the stencil inverted).
The thing is, I want to make the transition borders between these two layers to be smoother, as if one is fading out into the other. The stencils are circle-shaped, and I need to make its alpha fade out gradually as it approaches the borders of the circle.
Is there any way to make this effect using stencils or other functions in Love2D?
Stencils + Alpha ?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Stencils + Alpha ?
pixelEffect or if frame rate not a concern mapPixel can do what you want.
Who is online
Users browsing this forum: Google [Bot] and 1 guest