9 lines
155 B
Plaintext
9 lines
155 B
Plaintext
uniform samplerCube Env;
|
|
|
|
varying vec3 dir;
|
|
|
|
void main(){
|
|
gl_FragColor = textureCube(Env, normalize(dir));
|
|
//gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
|
|
|
|
} |