Split Mesh data and Pipeline

This commit is contained in:
Florian RICHER 2025-06-08 15:41:22 +02:00
parent 4f96a1e4b5
commit 078e9daba9
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
13 changed files with 331 additions and 109 deletions

12
res/shaders/simple.frag Normal file
View file

@ -0,0 +1,12 @@
#version 450
layout (location = 0) in vec2 tex_coords;
layout (location = 0) out vec4 f_color;
layout(set = 1, binding = 0) uniform sampler mySampler;
layout(set = 1, binding = 1) uniform texture2D myTexture;
void main() {
f_color = texture(sampler2D(myTexture, mySampler), tex_coords);
}