Skip to content

Commit

Permalink
glsl
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxBittker committed Oct 22, 2020
1 parent b37b178 commit c25138e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions js/glsl/sand.glsl
Expand Up @@ -68,17 +68,16 @@ void main() {
hue = 0.78;
saturation = 0.6;
lightness = 0.8 + energy * 0.25 + noise * 0.1;
a = 0.8;
a = 0.7;
if (isSnapshot) {
a = 1.0;
}
} else if (type == 4) { // Zoop
hue = 0.8 + (noise * -0.2);
hue += data.g * 0.4;
hue = 0.1 + (noise * -0.1);

saturation = 0.7;
lightness += 0.6;
// * (noise + 0.5);
lightness += 0.2;
// * (noise + 0.5);
if (isSnapshot) {
hue += -0.1;
}
Expand Down

0 comments on commit c25138e

Please sign in to comment.