Skip to content

Commit 7e9dbf0

Browse files
committed
More README info
1 parent 09ed9e9 commit 7e9dbf0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: README.md

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ Expected 1 arguments, got 0
1212
Usage: $ shader-playground.exe path\to\fragment.glsl
1313
```
1414

15+
Passing in the path to a GLSL v330 fragment shader will open a window with the shader running.
16+
17+
Currently, the only uniforms provided are:
18+
- `iReolution`: `ivec2` for the current window size in pixels
19+
- `iTime`: `float` for the time since the program started
20+
1521
There are some written fragment shaders in the `examples` directory.
1622

1723
This one is an adaptation of the default program when you create a new shader in Shadertoy:

0 commit comments

Comments
 (0)