Mindustry/core/assets/shaders/cubemap.frag

9 lines
131 B
GLSL
Raw Normal View History

2020-03-30 22:35:22 +07:00
2020-03-30 06:39:29 +07:00
varying vec3 v_texCoords;
uniform samplerCube u_cubemap;
void main(){
gl_FragColor = textureCube(u_cubemap, v_texCoords);
2020-10-28 02:08:53 +07:00
}