A small outrun and bread themed Rust + OpenGL intro for Demohäsä 2022 demo competition.
Follow Rust installation instructions.
$ cargo run --release
To generate minified GLSL shaders use the Shader Minifier tool:
$ shader_minifier.exe -o ./src/shaders/fragment.min.glsl --format text --preserve-externals ./src/shaders/fragment.glsl
With minified up to date shaders in place run
$ cargo run --release
This will produce the release build executable binary within target/release/
directory.
This project is released under MIT license.
Some GLSL shader functions derived from iquilezles.org, as indicated on the fragment.glsl
file.