diff --git a/LISP.md b/LISP.md index f608906..1bddff0 100644 --- a/LISP.md +++ b/LISP.md @@ -336,6 +336,7 @@ Here's a quick reference for common uniforms and stuff. ### Uniforms - Textures: `u_texture_` is the Nth texture passed into the shader. It is a `uniform sampler2D`. +- Previous: `u_previous` is the output of the previous frame in recurrent shaders. - Time: `u_time` is the time, in seconds, since the shader last started running. it is a `uniform float` - Resolution: `u_resolution` is the output resolution size, in pixels. This is a `uniform vec2`. diff --git a/README.md b/README.md index 217d5b4..a588a70 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,13 @@ Once you've installed shadergraph via `cargo install shadergraph`, test to see t shadergraph --help ``` -This should print out some usage information. To run a shadergraph, if you're currently in the same directory as a standard shadergraph project, run: +This should print out some usage information. To create a new project, run: + +``` +shadergraph new path/to/project +``` + +This will create a new example project in the specified directory. To run a shadergraph, cd into the directory of a project and run: ``` shadergraph run