'Area Tinting' on a map

So I want to add torches in a dark area (cave is naturally 'dark' tint) but I want the torch areas to have an area of light around them.
An alternative to using screen tint would be this.  (I'm explaining it in full just in case you don't know how to do this.)

Make your map and take a screen shot of it in the editor

Import it into an image program - I use GIMP

Put new layer on top

Flood fill with black at opacity set to the level of gloom you want. For something like that, start at e.g. 30% and work upwards.

Using the map image underneath, erase an area around your torches.

Pick a colour from the torch and (at an opacity that fits your taste) flood fill the areas that you erased.  Or use the airbrush at different diameters to make it stronger near the centre.

Use Gaussian blur at, say, 10%

Delete map layer.

Save and use as an overlay.

One of the advantages of this is that the player is in shadow as well, whereas with screen tint, the player is above the shadow.  It's a nice effect as the player walks into and out of the pools of light.
An alternative to using screen tint would be this.  (I'm explaining it in full just in case you don't know how to do this.)


Make your map and take a screen shot of it in the editor


Import it into an image program - I use GIMP


Put new layer on top


Flood fill with black at opacity set to the level of gloom you want. For something like that, start at e.g. 30% and work upwards.


Using the map image underneath, erase an area around your torches.


Pick a colour from the torch and (at an opacity that fits your taste) flood fill the areas that you erased.  Or use the airbrush at different diameters to make it stronger near the centre.


Use Gaussian blur at, say, 10%


Delete map layer.


Save and use as an overlay.


One of the advantages of this is that the player is in shadow as well, whereas with screen tint, the player is above the shadow.  It's a nice effect as the player walks into and out of the pools of light.
Thanks for the splain!


Can we clarify when this overlay needs a script to fix the fog in place? I always get confused about whether a fog of default map size will move, or whether ANY fog of the same size will move, but doesn't his map size come into play?
If the map is the default size, or is 640 x 480 because you're using Yanfly's Ace Engine, then nothing else is needed.  If it is larger than that, then a script is needed to hold it in place so that it doesn't follow the player around.

I use Modern Algebra's which can be found here. One of the nice things about it is that all you have to do is put [FIXED] at the front of the file name and it's all done for you.  No need to worry about configuring anything.  Obviously the script does more than that, but for this aspect it's the most straightforward one I know.

Original thread: https://forums.rpgmakerweb.com/threads/area-tinting-on-a-map.42057/