🔧 Port random fire option to KWin

This commit is contained in:
Simon Schneegans
2025-03-09 11:18:31 +01:00
parent ee1b49269a
commit 60c96c03d7
4 changed files with 160 additions and 140 deletions
+8
View File
@@ -0,0 +1,8 @@
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: GPL-3.0-or-later
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever a window is closed or opened.
let seed = Math.random();
effect.setUniform(this.shader, 'uSeed', seed);