space-game001/shaders/default_env_desktop.fragment
Vladislav Khorev 723b973c7f Porting to web
2026-01-07 15:14:13 +03:00

8 lines
119 B
Plaintext

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