Thursday, June 6, 2019

c# - Unity 2D Alpha cutout layer for Sprites


I'm trying to make a simple Fog of War effect for my 2d game, similar to these:


enter image description here


this.



I want to have a sprite layer of black and then have a sprite to cut out itself from the black layer, leaving a part of the black sprite transparent. And if I have two cut out sprites they will blend like the image I linked.


Anyone got any ideas?




No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...