mirror of https://github.com/ocornut/imgui.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
249 B
15 lines
249 B
9 years ago
|
#version 450 core
|
||
8 years ago
|
layout(location = 0) out vec4 fColor;
|
||
9 years ago
|
|
||
|
layout(set=0, binding=0) uniform sampler2D sTexture;
|
||
|
|
||
6 years ago
|
layout(location = 0) in struct {
|
||
9 years ago
|
vec4 Color;
|
||
|
vec2 UV;
|
||
|
} In;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
fColor = In.Color * texture(sTexture, In.UV.st);
|
||
|
}
|