init tick 분리
This commit is contained in:
11
Client/shaders/basic.frag
Normal file
11
Client/shaders/basic.frag
Normal file
@@ -0,0 +1,11 @@
|
||||
#version 450
|
||||
#include "common.glsl"
|
||||
|
||||
layout(location = 0) in vec2 vertex_uv;
|
||||
layout(location = 0) out vec4 out_color;
|
||||
|
||||
layout(set = 1, binding = 0) uniform sampler2D texture_sampler;
|
||||
|
||||
void main() {
|
||||
out_color = texture(texture_sampler, vertex_uv);
|
||||
}
|
||||
Reference in New Issue
Block a user