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;
2024-06-06 05:47:06 +00:00
layout(set = 2, binding = 0) uniform samplerCube SkyboxSampler;
void main()
{
FragColor = texture(SkyboxSampler, TexCoord);
}