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
+2 -1
View File
@@ -5,7 +5,7 @@ const int nb_clipping = 4;
const int nb_texcoords = 2;
const bool use_pbr = false;
const bool use_normal_maps = false;
const bool use_normal_maps = true;
layout(set = 0, binding = 0) uniform scene_ubo
{
@@ -136,3 +136,4 @@ layout(location = 5) VS_TO_FS vec2 texcoord_metallic_roughness;
layout(location = 6) VS_TO_FS vec2 texcoord_occlusion;
layout(location = 7) VS_TO_FS vec2 texcoord_emissive;
layout(location = 8) VS_TO_FS vec2 texcoord_normal;
layout(location = 9) VS_TO_FS vec4 vertex_color;