SkyBox.fp

#version 130

out vec4 vFragColor;

uniform samplerCube  cubeMap;

varying vec3 vVaryingTexCoord;

void main(void)
{ 
    vFragColor = texture(cubeMap, vVaryingTexCoord);
}

你可能感兴趣的:(SkyBox.fp)