2022-01-20 21:58:50 +08:00
|
|
|
#version 330
|
|
|
|
|
2022-01-29 22:29:27 +08:00
|
|
|
uniform sampler2D tex;
|
2022-01-20 21:58:50 +08:00
|
|
|
|
2022-01-22 23:06:41 +08:00
|
|
|
in vec2 fragPosScreen;
|
2022-01-20 21:58:50 +08:00
|
|
|
out vec4 outputColor;
|
|
|
|
|
|
|
|
void main() {
|
2022-01-29 22:29:27 +08:00
|
|
|
outputColor = texture(tex, fragPosScreen);
|
2022-01-20 21:58:50 +08:00
|
|
|
}
|