add comment

This commit is contained in:
nek0 2023-05-17 06:05:05 +02:00
parent 6f6716e69a
commit 89464b769f

View file

@ -19,6 +19,7 @@ layout(set = 2, binding = 0) uniform sampler2D tex1;
void main()
{
// Flip y coordinate of UVs to fix display
float y = texCoord.y * -1;
vec3 color = texture(tex1, vec2(texCoord.x ,y)).xyz;
outFragColor = vec4(color, inColor.w);