Create-Engine/src/assets/shaders/tilemap.frag

13 lines
179 B
GLSL
Raw Normal View History

2025-04-18 02:25:38 +00:00
#version 430 core
2025-04-13 21:04:03 +00:00
in vec2 vUV;
out vec4 FragColor;
uniform sampler2D uTex;
void main()
{
vec4 tex = texture(uTex, vUV);
if (tex.a < 0.1) discard;
FragColor = tex;
}