249 B、15行 生 Blame 履歴
1#version 450 core
2layout(location = 0) out vec4 fColor;
3
4layout(set=2, binding=0) uniform sampler2D sTexture;
5
6layout(location = 0) in struct
7{
8 vec4 Color;
9 vec2 UV;
10} In;
11
12void main()
13{
14 fColor = In.Color * texture(sTexture, In.UV.st);
15}