feat: add obj model loading
Co-authored-by: Chance <caznix01@gmail.com>
This commit is contained in:
parent
a5cc577043
commit
4f4920bd32
6 changed files with 269 additions and 184 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue