Mindustry/core/assets/shaders/cubemap.frag
2020-10-27 22:08:53 +03:00

9 lines
131 B
GLSL

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