🎉 Add flame scale option

This commit is contained in:
Simon Schneegans
2021-12-15 21:49:42 +01:00
parent a925afb69e
commit d632a438f4
4 changed files with 55 additions and 1 deletions
+2 -1
View File
@@ -154,7 +154,8 @@ class Extension {
const float EDGE_BLEND = 70;
const float BURN_RANGE = 0.1;
const float BURN_TIME = 0.2;
const vec2 FIRE_SCALE = vec2(400, 600);
const vec2 FIRE_SCALE = vec2(400, 600) * ${
this._settings.get_double('flame-scale')};
const float FIRE_SPEED = ${this._settings.get_double('flame-movement-speed')};
float rand(vec2 co) {