|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|


Go to the source code of this file.
Namespaces | |
| namespace | esengine |
Functions | |
| std::vector< u8 > | esengine::buildRippleNormals () |
| RGBA8, RIPPLE_NORMALS_SIZE square. A texel's rg (and ba) is the xy of a unit normal whose z is up: the slope there is xy / z. | |
Variables | |
| constexpr u32 | esengine::RIPPLE_NORMALS_SIZE = 256 |
| constexpr u32 | esengine::RIPPLE_NORMALS_LONGEST = 2 |
| The longest wave in a field runs this many times across the texture, the shortest twenty: a field read at one size holds a decade of lengths. | |