Egg and attacking work
This commit is contained in:
parent
24c7a78ae6
commit
8f891b17cd
72 changed files with 10071 additions and 726 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue