MoonWorksGraphicsTests/Common/Content/Shaders/Source/Skybox.frag

12 lines
226 B
GLSL
Raw Normal View History

#version 450
layout(location = 0) in vec3 TexCoord;
layout(location = 0) out vec4 FragColor;
layout(binding = 0, set = 1) uniform samplerCube SkyboxSampler;
void main()
{
FragColor = texture(SkyboxSampler, TexCoord);
}