diff options
author | Olivia Mackintosh <livvy@base.nu> | 2020-04-21 18:58:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 18:58:03 +0100 |
commit | 56a39f46420d66cefb88f9d66ee8aef981b92c5e (patch) | |
tree | 7837137b0bf09ba02bb1c0a5dc745e221137d6ec | |
parent | ddd234ea1ff2924e587372aa12c4d5cda99a0ce0 (diff) | |
download | tiny-56a39f46420d66cefb88f9d66ee8aef981b92c5e.tar.gz |
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..58cadca --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# tiny +A shader based demo framework + +## Motivation +I want a framework around GLSL shaders that I can use to contruct demos. It should take care of all of the optimizations and produce a single binary that can be executed. It should also be compatible with GNU Rocket out of the box and provide the ability to create keyframes and pass the current values of these variables as uniforms into the shader. This allows the basics such as moving the camera/world around, as well as changing the position and attributes of objects. + +Currently it outputs a base executable of around 22KB which is *huuge* but I haven't yet found the Linux ELF equivilent of [crinker](http://crinkler.net/). The next step in size-optimization would be stripping out the default libc for something much smaller but I still want the binary to run on a fresh Ubuntu install. There are a few ASM hacks to bootstrap the ELF without all the libc crap still to explore. + +## Pre-requisites +* binutils +* gcc +* mono +* upx + +## Special thanks +* [Inigo Quilez](https://www.iquilezles.org/) for learning material +* [Ctrl-Alt-Test](https://ctrl-alt-test.fr/) for shader minifier |