m2-ar-projet/shaders/skybox.frag

9 lines
148 B
GLSL
Raw Normal View History

2021-01-02 17:45:42 +01:00
varying vec3 tex_coords;
2020-12-28 17:36:45 +01:00
uniform samplerCube tex;
void main() {
2021-01-02 17:45:42 +01:00
gl_FragColor = textureCube(tex, tex_coords);
2020-12-28 17:36:45 +01:00
// final_col = vec4(1, 0, 1, 1);
}