Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 07fb583cc6
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.391 kb
uniform samplerCube Texture;
varying vec3 Normal;
varying vec3 VertexToLightVector;
varying vec4 Color;
varying vec3 TextureCoordinate;
void main()
{
gl_FragColor = textureCube(Texture, TextureCoordinate);
// gl_FragColor.xyz = TextureCoordinate;
// need this line so OpenGL doesn't optimize out the variables -- remove in your solution
// {
Normal; Color; Texture;
// }
}
Jump to Line
Something went wrong with that request. Please try again.