Doom's shimmer (a spectre, a partly invisible player's weapon) as a graphics card material: the picture's shape filled with what is behind it, each row taken from one of Doom's 200 screen rows above or below, darkened as light table 6 darkens.
{material, live} = ElixirDoom.Gpu.Shimmer.material(live, target, picture, table)table is the fixed light table in force, or nil; it keys the material with the
picture's texture through that table, whose alpha cuts the shape.
Summary
Functions
The shimmer material of picture, made the first time.
Functions
@spec material( CauldronGPU.Sectors.Live.t(), CauldronGPU.Target.t(), non_neg_integer(), non_neg_integer() | nil ) :: {CauldronGPU.Handle.t(), CauldronGPU.Sectors.Live.t()}
The shimmer material of picture, made the first time.