Egg and attacking work

This commit is contained in:
Gnarwhal 2020-04-19 16:11:06 -07:00 committed by Gnarwhal
parent 5fd4389d1b
commit 9136988f8e
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
72 changed files with 10071 additions and 726 deletions

View file

@ -11,7 +11,7 @@ out vec4 color;
void main() {
vec4 sample = texture(sampler, texCoords);
float x = sample.r + time;
color = vec4(iColor * mod(floor(x), 2) * (-x + 2), sample.a);
color = vec4(iColor, mod(floor(x), 2) * (-x + 2) * sample.a);
if (color.a == 0) {
discard;
}