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

10 lines
155 B
Plaintext
Raw Normal View History

2023-08-10 21:53:51 +00:00
uniform samplerCube u_cubemap;
2023-09-10 14:46:07 +00:00
2023-08-10 21:53:51 +00:00
in vec3 v_direction;
out vec4 fragcolor;
2023-09-10 14:46:07 +00:00
2023-08-10 21:53:51 +00:00
void main() {
fragcolor = vec4(texture(u_cubemap, v_direction).rgb, 1.0);
}