Home

Awesome

NanoShredder

This code is makepad's shader compiler, but modified.

During the modification shader-compiler became worse, not better. Most of live editing capabilities got lost, error reporting became worse, new bugs were introduced and maintanability/possibility to merge from upstream was lost.

Like the code was runned through a paper hredder and purely assembled back together, thus the project name.

shadertoy

macroquad's shadertoy example

NanoShredder can take a rust-like dsl and produce glsl, metal and hlsl shaders. Usage example: basic.rs. It may(or may not) be evantually used as an optional cli/runtime tool to help miniquad based projects with shaders cross compilation.