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

8 lines
142 B
Plaintext

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