Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Pwyred |
Apologies if this question has already been asked; I wasn’t finding anything when searching.
I’m trying to implement sunlight in a 2D game, so that the majority of the base TileMap is “cloudy”, but there is a portion of the map that is sunny. I don’t think it’s possible to modulate individual tiles within the tilemap, so I’m not sure what my best option is.
Is this something I could do with a shader and a mask? If so, is it possible to have a dynamic mask so that the sunlight area can move across the screen, etc?