8 lines
119 B
Plaintext
8 lines
119 B
Plaintext
uniform samplerCube Texture;
|
|
|
|
varying vec3 dir;
|
|
|
|
void main(){
|
|
gl_FragColor = textureCube(Texture, normalize(dir));
|
|
|
|
} |