♻️ Resolve license issues

This commit is contained in:
Simon Schneegans
2022-01-03 13:50:56 +01:00
parent 022fc8f77e
commit 0a9e04ce09
4 changed files with 38 additions and 46 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ var FireShader = GObject.registerClass({Properties: {}, Signals: {}},
// Get a noise value which moves vertically in time.
vec2 uv = cogl_tex_coord_in[0].st * vec2(uSizeX, uSizeY) / FIRE_SCALE;
uv.y += uTime * FIRE_SPEED;
float noise = perlinNoise(uv, 10.0, 5, 0.5);
float noise = noise(uv * 5.0);
// Modulate noise by effect mask.
vec2 effectMask = effectMask(HIDE_TIME, FADE_WIDTH, EDGE_FADE);