m2-ar-projet/shaders/skybox.frag

9 lines
148 B
GLSL

varying vec3 tex_coords;
uniform samplerCube tex;
void main() {
gl_FragColor = textureCube(tex, tex_coords);
// final_col = vec4(1, 0, 1, 1);
}