ios-samples/OpenGL/OpenGLES20Example/Shader.fsh

7 строки
158 B
GLSL
Executable File

uniform sampler2D texture;
varying mediump vec2 fragmentTextureCoordinates;
void main()
{
gl_FragColor = texture2D(texture, fragmentTextureCoordinates);
}