ho3/resources/shaders/env.fragment
2024-06-08 20:55:56 +03:00

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);
}