• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 460
2
3layout (location = 0) in vec2 in_UV;
4
5layout (set=0, binding=0) uniform texture2D u_Tex;
6layout (set=0, binding=0) uniform sampler u_Sampler;
7
8layout (location = 0) out vec4 out_Color;
9
10void main() {
11    vec4 color = texture(sampler2D(u_Tex, u_Sampler), in_UV);
12    out_Color = color;
13}
14