Core type definitions and utilities for ESEngine.
constexpr u32 RIPPLE_NORMALS_SIZE
constexpr u32 RIPPLE_NORMALS_LONGEST
The longest wave in a field runs this many times across the texture, the shortest twenty: a field rea...
std::uint32_t u32
Unsigned 32-bit integer.
std::vector< u8 > buildRippleNormals()
RGBA8, RIPPLE_NORMALS_SIZE square. A texel's rg (and ba) is the xy of a unit normal whose z is up: th...