You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
441 B
GLSL

#version 450
layout(location = 0) in vec2 v_Uv;
layout(location = 0) out vec4 o_Target;
layout(set = 1, binding = 0) uniform RepeatMaterial {
vec4 Color;
};
layout(set = 1, binding = 1) uniform texture2D RepeatMaterial_texture;
layout(set = 1, binding = 2) uniform sampler RepeatMaterial_sampler;
void main() {
o_Target = Color * texture(sampler2D(RepeatMaterial_texture, RepeatMaterial_sampler), v_Uv);
}
// vim: set ft=glsl: