v4k-git-backup/engine/shaders/fs_3_4_skybox.glsl

8 lines
153 B
GLSL

uniform samplerCube u_cubemap;
in vec3 v_direction;
out vec4 fragcolor;
void main() {
fragcolor = vec4(texture(u_cubemap, v_direction).rgb, 1.0);
}