15 lines
232 B
GLSL
15 lines
232 B
GLSL
#version 430
|
|
|
|
uniform samplerCube CubemapTexture;
|
|
|
|
in VertexData {
|
|
vec3 TextureCoord;
|
|
} Input;
|
|
|
|
out vec4 FragColor;
|
|
|
|
void main()
|
|
{
|
|
FragColor = texture(CubemapTexture, Input.TextureCoord);
|
|
//FragColor = vec4(1.0, 1.0, 1.0, 0.0);
|
|
} |