notifications

This commit is contained in:
galister
2024-02-21 19:52:42 +01:00
parent 39cc22474b
commit e7710b56d9
18 changed files with 381 additions and 85 deletions

View File

@@ -74,9 +74,7 @@ pub mod frag_sprite {
void main()
{
vec4 c = texture(in_texture, in_uv);
out_color.rgb = c.rgb;
out_color.a = min((c.r + c.g + c.b)*100.0, 1.0);
out_color = texture(in_texture, in_uv);
}
",
}