$ cd ~/projects VE Shader ──────────────────────────────────────────────────── A utility that transpiles a custom GLSL shader format to the SPIR-V format using shaderc. tags: Game Development, Rust ──────────────────────────────────────────────────── ## Keep shader stages together VE Shader compiles a custom GLSL format to SPIR-V through shaderc. A single file can contain vertex, fragment, and geometry stages, separated by `//# TYPE` instructions. Other instructions record a name, author, description, and shared GLSL version. VE Shader on GitHub https://github.com/michidk/ve-shader VE Shader package https://crates.io/crates/ve_shader ──────────────────────────────────────────────────── ## Compile a group of shaders Build the utility from source with `cargo build`. Run `ve_shader "./shaders/*.glsl" -o ./output` to compile matching input files into an output directory. The README includes the complete instruction reference, a sample shader, and the build prerequisites. VE Shader format and build guide https://github.com/michidk/ve-shader#custom-format ──────────────────────────────────────────────────── ## Vulkan Engine The utility was made for Vulkan Engine, a shared Rust learning project with physically based rendering and a scene-inspection interface. VE Shader has its own repository and command-line interface. Vulkan Engine on GitHub https://github.com/michidk/vulkan-engine ──────────────────────────────────────────────────── $ ls ~/pages > about curl -L lohr.dev > projects curl -L lohr.dev/projects > blog curl -L lohr.dev/blog > stats curl -L lohr.dev/stats > contact curl -L lohr.dev/contact ──────────────────────────────────────────────────── https://lohr.dev