procedural-3d-engine/data/shaders/pbr/skybox.frag
2017-02-19 15:03:16 +01:00

12 lines
No EOL
212 B
GLSL

#version 450
layout (binding = 1) uniform samplerCube samplerEnv;
layout (location = 0) in vec3 inUVW;
layout (location = 0) out vec4 outFragColor;
void main()
{
outFragColor = texture(samplerEnv, inUVW);
}