feat(rendering): on-screen debug overlay showing current biome and coordinates

Asset-free bitmap-text overlay: a 5x7 font (glyphs defined as verifiable ASCII-art) drawn as solid quads through a tiny 2D shader, white text with a drop shadow for legibility over any background. Renders 'BIOME: <name>' and 'XYZ: x, y, z' top-left, updating live. Adds Shader.SetVector2 and WorldGenerator.BiomeNameAt support; text scale and spawn-height offset read from Configuration.
This commit is contained in:
MDietermann
2026-06-03 16:27:15 +02:00
parent e034d10339
commit 689536348b
5 changed files with 206 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
#version 330 core
out vec4 FragColor;
uniform vec3 u_color;
void main()
{
FragColor = vec4(u_color, 1.0);
}