casey / casey/pxl

Add postprocessing filters

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
32
Forks
2
PR merge metrics
No merged PRs in 30d

Description

```rust
trait Program {
/// Returns postprocessing filters to be applied after rendering
/// filters may declare a texture called "input", which for the first
/// filter will contain the output of the main fragment shader, and
/// for the filters thereafter will contain the output of the previous
/// filter. The last filter in the chain will write to the display
fn filters(&self) -> &[&str] {
[]
}
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.