Opentk/Source/Examples/Data/Shaders/CubeMap_FS.glsl
2009-10-24 10:07:43 +00:00

9 lines
No EOL
195 B
GLSL

// Copyright (c) 2008 the OpenTK Team. See license.txt for legal bla
uniform samplerCube Earth;
varying vec3 Normal;
void main()
{
gl_FragColor = textureCube( Earth, Normal.xyz );
}