feat: add obj model loading

Co-authored-by: Chance <caznix01@gmail.com>
This commit is contained in:
BitSyndicate 2025-04-18 23:45:11 +02:00
parent 1252641efd
commit bad8c6d399
Signed by: bitsyndicate
GPG key ID: 443E4198D6BBA6DE
6 changed files with 269 additions and 184 deletions

View file

@ -1,8 +1,8 @@
#version 450
layout(location = 0) in vec2 tex_coords;
layout(set = 0, binding = 0) uniform texture2D t_diffuse;
layout(set = 0, binding = 1) uniform sampler s_diffuse;
layout(set = 1, binding = 0) uniform texture2D t_diffuse;
layout(set = 1, binding = 1) uniform sampler s_diffuse;
layout(location = 0) out vec4 out_color;
// layout(group = 0, binding = 0) out texture2D;
void main() {