2017-03-23 14:51:43 +00:00
|
|
|
#version 310 es
|
|
|
|
|
|
|
|
precision mediump float;
|
|
|
|
|
2018-03-12 12:09:25 +00:00
|
|
|
layout(binding = 0) uniform sampler2D tex;
|
2017-03-23 14:51:43 +00:00
|
|
|
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
FragColor = textureLod(tex, vec2(0.4, 0.6), 0.0);
|
|
|
|
}
|