Main.SideBar (edit) |
Main /
FogOfWarAt the moment, fog of war in Boson works by simply not rendering fogged cells. While this is fast and simple, it doesn't look very good, so it should be improved.One possibility is to use 0 as alpha for all cell corners that are fogged. Most cells near the border of the fog then would have about 2 or so corners with alpha = 0. +++++ ++--- ----- ----- ----- Then corners marked with "o" should be rendered with alpha = 0: +++++ ++ooo ooo-- ----- ----- |