Mindustry/core/assets/shaders/cubemap.frag
Anuken 732769524c 🔥🔥🔥
2020-06-11 12:03:27 -04:00

8 lines
130 B
GLSL

varying vec3 v_texCoords;
uniform samplerCube u_cubemap;
void main(){
gl_FragColor = textureCube(u_cubemap, v_texCoords);
}