1 2 3 4 5 6 7 8 9 10
uniform samplerCube cubemapTexture; out vec4 FragColor; in vec3 texCoord; void main() { FragColor = S_SRGBToLinear(texture(cubemapTexture, texCoord)); }