blob: 13a365ed0cb4b226fa9dae7a1de3de66b1fedada (
plain)
1
2
3
4
5
6
7
8
9
10
|
#version 440
layout(location = 0) in vec3 v_coord;
layout(location = 0) out vec4 fragColor;
layout(binding = 1) uniform samplerCube tex;
void main()
{
fragColor = vec4(texture(tex, v_coord).rgb, 1.0);
}
|