2021-05-18 21:18:26 +02:00
|
|
|
#version 330 core
|
|
|
|
|
|
|
|
out vec4 FragColor;
|
|
|
|
|
2021-05-19 15:00:12 +02:00
|
|
|
in vec2 texCoord;
|
2021-05-19 05:37:45 +02:00
|
|
|
|
|
|
|
uniform sampler2D texture1;
|
|
|
|
|
2021-05-18 21:18:26 +02:00
|
|
|
void main()
|
|
|
|
{
|
2021-05-20 15:52:20 +02:00
|
|
|
FragColor = texture(texture1, vec2(-texCoord.y, -texCoord.x));
|
2021-05-18 21:18:26 +02:00
|
|
|
}
|