space-game001/resources/shaders/default_env_desktop.fragment
2026-02-08 22:38:24 +03:00

8 lines
143 B
Plaintext

//precisionmediump float;
uniform samplerCube Texture;
varying vec3 dir;
void main(){
gl_FragColor = textureCube(Texture, normalize(dir));
}