Mindustry/core/assets/shaders/cubemap.frag
2020-03-30 11:35:22 -04:00

11 lines
175 B
GLSL

#ifdef GL_ES
precision mediump float;
#endif
varying vec3 v_texCoords;
uniform samplerCube u_cubemap;
void main(){
gl_FragColor = textureCube(u_cubemap, v_texCoords);
}