Working on tile maps

This commit is contained in:
2021-04-05 20:46:05 +10:00
parent 493477bf0d
commit 351c501140
15 changed files with 273 additions and 67 deletions

View File

@ -8,6 +8,9 @@ out vec4 FragColor;
void main() {
vec4 color = texture(u_Text, TexCoord);
// FragColor = color;
FragColor = vec4(1, 1, 1, 1);
if(color.a == 0) {
FragColor = vec4(1, 1, 1, 1);
} else {
FragColor = color;
}
}