7 lines
142 B
Plaintext
7 lines
142 B
Plaintext
precision mediump float;
|
|
uniform samplerCube Texture;
|
|
varying vec3 dir;
|
|
|
|
void main(){
|
|
gl_FragColor = textureCube(Texture, normalize(dir));
|
|
} |