MoonWorksGraphicsTests/MoonWorks.Test.Common/Content/Shaders/Source/SkyboxFrag.frag

12 lines
226 B
GLSL

#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);
}