Opentk/Source/Examples/Data/Shaders/CubeMap_FS.glsl

9 lines
187 B
Plaintext
Raw Normal View History

// 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 );
}