You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
166 B
Plaintext
10 lines
166 B
Plaintext
7 years ago
|
#version 120
|
||
|
|
||
|
varying vec2 uv;
|
||
|
uniform samplerCube cubeMap;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
gl_FragData[0] = textureCube(cubeMap,vec3(uv.x * 2.0 - 1.0,uv.y * 2.0 - 1.0,1));
|
||
|
}
|