flip uv coordintes right
This commit is contained in:
parent
61f800cdd9
commit
6f6716e69a
1 changed files with 2 additions and 1 deletions
|
@ -19,6 +19,7 @@ layout(set = 2, binding = 0) uniform sampler2D tex1;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
vec3 color = texture(tex1,texCoord).xyz;
|
float y = texCoord.y * -1;
|
||||||
|
vec3 color = texture(tex1, vec2(texCoord.x ,y)).xyz;
|
||||||
outFragColor = vec4(color, inColor.w);
|
outFragColor = vec4(color, inColor.w);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue