space-game001/resources/shaders/default_env_web.fragment
Vladislav Khorev d1cab1f3b3 refactoring
2026-01-09 22:33:46 +03:00

8 lines
142 B
Plaintext

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