ho3/resources/shaders/env.fragment

9 lines
155 B
Plaintext
Raw Normal View History

2024-06-06 13:25:38 +00:00
uniform samplerCube Env;
varying vec3 dir;
void main(){
2024-06-08 17:55:56 +00:00
gl_FragColor = textureCube(Env, normalize(dir));
//gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
2024-06-06 13:25:38 +00:00
}