Use vertex colors, use normal maps

This commit is contained in:
Guillaume Meunier
2025-12-15 19:00:23 +01:00
parent a32a4e4182
commit 06ad530e2f
6 changed files with 86 additions and 15 deletions
+1
View File
@@ -67,6 +67,7 @@ void main()
frag_pos = mesh.modelview[gl_ViewIndex] * vec4(in_position, 1.0);
light_pos = scene.view[gl_ViewIndex] * scene.light_position;
vertex_color = in_color;
for(int i = 0; i < nb_clipping; i++)
{