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

8 lines
153 B
Plaintext
Raw Permalink Normal View History

2024-03-26 16:15:02 +00:00
uniform samplerCube u_cubemap;
in vec3 v_direction;
out vec4 fragcolor;
void main() {
fragcolor = vec4(texture(u_cubemap, v_direction).rgb, 1.0);
2023-08-10 21:53:51 +00:00
}