|
@@ -83,8 +83,9 @@ Shaders must be placed in your `${XDG_CONFIG_HOME}/slop` directory, where *XDG_C
|
83
|
83
|
|
84
|
84
|
Shaders are loaded from the `--shader` flag in slop. They are delimited by commas, and rendered in order from left to right. This way you can combine multiple shaders for interesting effects! For example, `slop -rblur1,wiggle` would load `~/.config/slop/blur1{.frag,.vert}` and `~/.config/slop/wiggle{.frag,.vert}`. Then render the selection rectangle twice, each time accumulating the changes from the different shaders.
|
85
|
85
|
|
86
|
|
-Enough chatting about it though, here's some example shaders you can from [shaderexamples](https://github.com/naelstrof/slop/tree/master/shaderexamples) to `~/.config/slop` to try out!
|
|
86
|
+Enough chatting about it though, here's some example shaders you can copy from [shaderexamples](https://github.com/naelstrof/slop/tree/master/shaderexamples) to `~/.config/slop` to try out!
|
87
|
87
|
|
|
88
|
+The files listed to the right of the `|` are the required files for the command to the left to work correctly.
|
88
|
89
|
* `slop -rblur1,blur2 -b100` | `~/.config/slop/{blur1,blur2}{.frag,.vert}`
|
89
|
90
|
![slop blur](https://my.mixtape.moe/bvsrzr.png)
|
90
|
91
|
|