Skip to content

Commit

Permalink
Added some notes about json file and alternative for ubuntu installation
Browse files Browse the repository at this point in the history
  • Loading branch information
diorga committed May 4, 2017
1 parent 26ce681 commit 8721a23
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ Run `get_image` on the provided `simple.frag` shader to test that it works. E.g.
./get_image --persist simple.frag
```

#Note:

You should also have a file with the same name as the shader but with a .json extension.
This file should only contain an "{}"

## Usage

`./get_image <PATH_TO_FRAGMENT_SHADER>`
Expand Down Expand Up @@ -46,6 +51,12 @@ On Linux or OSX:
bash buildscripts/1-install-deps-travis.sh
```

Alternativly on Ubuntu you can:
```bash
sudo apt-get install libgles2-mesa-dev
```


(This will probably fail with an error at the last step, but all that matters is that the deps are created)

Once you have the deps downloaded, you can build with CMake as follows:
Expand Down Expand Up @@ -77,4 +88,4 @@ but are not entirely sure.

Note that you will see an awful lot of warnings. This is fine. As long as the build exits successfully,
try running the generated executable (in either Debug or Release in your build directory) on sample.frag
in the root of this project. If you get a pretty image called output.png then it has worked.
in the root of this project. If you get a pretty image called output.png then it has worked.

0 comments on commit 8721a23

Please sign in to comment.