3dexperiments/assets/shaders/skybox.fs

10 lines
133 B
GLSL

precision mediump float;
varying vec3 uv;
uniform samplerCube cubeMap;
void main() {
gl_FragColor = textureCube(cubeMap, uv);
}