Doom's palette washes as the graphics card's screen tint: the display colour and
strength {r, g, b, a} (0..1) that blending the finished frame's display colours
towards gives the colours of palette index in place of palette 0.
ElixirDoom.Gpu.Tint.of(graphics, 3)The tint is fitted to the WAD's own palettes by least squares over all 256 colours,
each channel's washed value a straight line of its plain value. Palette 0 is no tint.
Summary
Functions
The screen tint that stands for palette index of graphics.
Functions
@spec of(ElixirDoom.Graphics.t(), 0..13) :: {float(), float(), float(), float()}
The screen tint that stands for palette index of graphics.