An atmospheric haze sheet: translucent weather and mood with soft edges, drift and
density, on the GPU path (roadmap 425). Distinct from FogLayer, which is fog of war:
this never hides gameplay, it only colours the air. The canvas stays small and scales
up with linear filtering, so one refresh costs O(cells) and edges stay soft at any
size. Stack several planes with different densities, drifts, tints and scales for depth.
Needs a DOM canvas; paintHazePixels is the same shading without one.
An atmospheric haze sheet: translucent weather and mood with soft edges, drift and density, on the GPU path (roadmap 425). Distinct from
FogLayer, which is fog of war: this never hides gameplay, it only colours the air. The canvas stays small and scales up with linear filtering, so one refresh costs O(cells) and edges stay soft at any size. Stack several planes with different densities, drifts, tints and scales for depth. Needs a DOM canvas;paintHazePixelsis the same shading without one.Example