ggez currently features three functions allowing you to use custom shaders when drawing:
It should be possible to implement them using miniquad, but since I'm relatively inexperienced when it comes to shaders (and using shaders with miniquad) I leave this open for now for anyone willing to help.
Once the functionality is implemented porting the two examples shader.rs and shadows.rs should be pretty straightforward (at least for shader.rs, not sure whether the shaders in shadows.rs can be written to work in glsl100).
ggez currently features three functions allowing you to use custom shaders when drawing:
set_shaderclear_shaderuse_shaderIt should be possible to implement them using miniquad, but since I'm relatively inexperienced when it comes to shaders (and using shaders with miniquad) I leave this open for now for anyone willing to help.
Once the functionality is implemented porting the two examples
shader.rsandshadows.rsshould be pretty straightforward (at least forshader.rs, not sure whether the shaders inshadows.rscan be written to work in glsl100).