blob: 6fadc933b13f120764c76959c274c14c4c061a9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#version 430 core
in vec2 fTexCoord;
out vec4 oColor;
//uniform sampler2DMS texture0;
uniform sampler2D texture0;
void main()
{
oColor = texture(texture0, fTexCoord);
// oColor = texelFetch(texture0, ivec2(gl_FragCoord.xy), 0);
//oColor = texelFetch(texture0, ivec2(gl_FragCoord.xy), gl_SampleID);
}
|