1
0
Fork 0
Univerxel/resource/shaders-src/Sky.frag

12 lines
248 B
GLSL

#version 450 core
#extension GL_ARB_separate_shader_objects : enable
layout(binding = 1) uniform samplerCube Texture;
layout(location = 0) in vec3 UV;
layout(location = 0) out vec4 color;
void main(){
color = texture(Texture, UV);
}