Engine-wide compile-time tunables and ANSI colour codes.
constexpr mnd::f32 kDefaultAmbient
constexpr mnd::i32 kDefaultInternalHeight
constexpr mnd::i32 kDefaultInternalWidth
Engine-wide primitive type aliases and GLM math imports.
glm::vec4 vec4
4-component float vector (e.g. RGBA colour, homogeneous coords).
glm::vec3 vec3
3-component float vector (e.g. world position, RGB colour, normals).
float f32
32-bit IEEE float — the standard GL scalar type.
DebugView
Renderer tuning struct passed to the post-process shader each frame.
f32 snapY
Vertex snapping grid Y.
vec4 clearColor
RGBA value used by glClear at the start of each frame.
vec3 lightDir
Sun/directional light vector.
f32 snapX
Vertex snapping grid X (PS1 wobble).
DebugView debugView
Which scene-target attachment to blit. Defaults to Color.
f32 fogStart
Fog near distance (0 disables fog).
f32 ditherStrength
Bayer dither amount applied after quantization.
f32 ambient
Global ambient term added to lit pixels.
f32 fogEnd
Fog far distance.
f32 colorDepth
levels per channel; <= 1 disables quantize
bool showFps
Draw FPS counter overlay in top-left corner.