Expand description
Instanced 3D glyph rendering with PBR G-buffer output.
Groups glyphs by character, issues one instanced draw call per unique character. Outputs to a G-buffer: albedo, normal, metallic+roughness, emission. The existing deferred pipeline resolves lighting including SVOGI.
Structs§
- Glyph3D
Batch - A batch of instances sharing the same character mesh.
- Glyph3D
Instance - Per-instance data for 3D glyph rendering. 80 bytes, GPU-friendly.
- Glyph3D
Renderer - Glyph3D
VaoLayout - Describes how to set up the vertex attribute layout for 3D glyph rendering. This is a reference for the OpenGL setup code, not executable.
- Render3D
Config
Constants§
- GLYPH_
3D_ FRAG - Fragment shader: G-buffer output for deferred PBR.
- GLYPH_
3D_ VERT - Vertex shader for 3D PBR glyph rendering.
Functions§
- per_
glyph_ transform - Apply per-glyph rotation variation and scale pulsing.