🎉 Add wisps kwin effect

This commit is contained in:
Simon Schneegans
2022-06-10 15:24:54 +02:00
parent 79fe1feb5c
commit 97a4226898
7 changed files with 114 additions and 3 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ var Wisps = class {
// clang-format off
shader.set_uniform_float(shader._uSeed, 2, [testMode ? 0 : Math.random(), testMode ? 0 : Math.random()]);
shader.set_uniform_float(shader._uColor, 3, [c.red / 255, c.green / 255, c.blue / 255]);
shader.set_uniform_float(shader._uColor, 4, [c.red / 255, c.green / 255, c.blue / 255, 1.0]);
shader.set_uniform_float(shader._uScale, 1, [settings.get_double('wisps-scale')]);
// clang-format on
});