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

8 lines
119 B
Plaintext

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