1precision mediump float;
2
3// The actual wallpaper texture.
4uniform sampler2D uTexture;
5
6varying vec2 vTextureCoordinates;
7
8void main() {
9 // gets the pixel value of the wallpaper for this uv coordinates on screen.
10 gl_FragColor = texture2D(uTexture, vTextureCoordinates);
11}