Przeglądaj źródła

fixed table in readme

Dalton Nell 7 lat temu
rodzic
commit
ebbbb3dab1
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2
    0
      README.md

+ 2
- 0
README.md Wyświetl plik

@@ -67,6 +67,7 @@ make && sudo make install
67 67
 ### Shaders
68 68
 
69 69
 Slop allows for chained post-processing shaders. Shaders are written in a language called GLSL, and have access to the following data from slop:
70
+
70 71
 | GLSL Name  | Data Type      | Bound to                                                                                        |
71 72
 |------------|----------------|-------------------------------------------------------------------------------------------------|
72 73
 | mouse      | vec2           | The mouse position on the screen.                                                               |
@@ -75,6 +76,7 @@ Slop allows for chained post-processing shaders. Shaders are written in a langua
75 76
 | screenSize | vec2           | The dimensions of the screen, where the x value is the width.                                   |
76 77
 | position   | vec2 attribute | This contains the vertex data for the rectangle. Only contains (0,0), (1,0), (1,1), and (0,1).  |
77 78
 | uv         | vec2 attribute | Same as the position, this contians the UV information of each vertext.                         |
79
+
78 80
 The desktop texture is upside-down because flipping it would cost valuable time.
79 81
 
80 82
 Shaders must be placed in your `${XDG_CONFIG_HOME}/slop` directory, where *XDG_CONFIG_HOME* is typically `~/.config/`. This folder won't exist unless you make it yourself.