render 3d to tex

This commit is contained in:
Daniel Ledda
2026-05-11 23:30:35 +02:00
parent e768b38322
commit 66547b0f68
10 changed files with 279 additions and 92 deletions

View File

@@ -7,5 +7,5 @@ in vec2 frag_uv_position;
uniform sampler2D glyph_atlas;
void main() {
pixel_color = vec4(1,1,1,texture(glyph_atlas, frag_uv_position).r);
pixel_color = vec4(frag_color.xyz,texture(glyph_atlas, frag_uv_position).r);
};