space-game001/shaders/env_web.fragment
Vladislav Khorev 38f4f6b7fc Working on web
2025-12-07 16:46:43 +03:00

7 lines
142 B
Plaintext

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