space-game001/resources/shaders/default_env_web.fragment
2026-02-02 13:50:43 +06:00

8 lines
143 B
Plaintext

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