Jazz2::Rendering::SoftwareLighting namespace

Functions

auto Distance(float d2) -> float
Reciprocal square root estimate of the platform, where it has one worth using.
void SplatLight(float* lightmap, std::int32_t lmW, std::int32_t lmH, float cx, float cy, float rLm, float radiusNearNorm, float intensity, float brightness)
Adds one light to a two-channel (intensity, brightness) float lightmap.