MetaCore/third_party/simplepbr-shaders/skybox.frag

9 lines
157 B
GLSL

#version 120
uniform samplerCube skybox_tex;
varying vec3 v_direction;
void main() {
gl_FragColor = textureCube(skybox_tex, normalize(v_direction));
}