linux-wallpaperengine/share/patches/lens_flare_sun.frag.json
Alexis Maiquez cd4a76677f Added a couple of patches for different shaders
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2023-02-11 03:33:51 +01:00

14 lines
367 B
JSON

{
"patches": [
{
"matches": [
"uniform float u_pointerSpeed;",
"uniform vec2 g_PointerPosition;",
"float pointer= g_PointerPosition.xy * u_pointerSpeed;"
],
"replacements": {
"float pointer= g_PointerPosition.xy * u_pointerSpeed;": "float pointer= (g_PointerPosition.xy * u_pointerSpeed).x;"
}
}
]
}