3dexperiments/assets/shaders/skybox.fs

10 lines
133 B
Forth
Raw Permalink Normal View History

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