pixels/examples/custom-shader
Jay Oster 288da3675f
Use the swapchain-preferred texture format by default (#182)
- Fixes #140
- Adds a public method to get the current GPU framebuffer texture format (AKA the render texture format).
- This wasn't as difficult as it seemed; the extra API is used by the examples to get the right texture format instead of being hardcoded.
2021-07-17 08:21:49 -07:00
..
shaders Update to wgpu 0.9 (#179) 2021-06-27 11:09:29 -07:00
src Use the swapchain-preferred texture format by default (#182) 2021-07-17 08:21:49 -07:00
Cargo.toml Update to wgpu 0.9 (#179) 2021-06-27 11:09:29 -07:00
README.md Add custom shader example (#100) 2020-07-19 02:18:02 -07:00

Custom Shader Example

Custom Shader Example

Running

cargo run --release --package custom-shader

About

This example is based on minimal-winit, and extends it with a custom renderer that adds white noise to the screen.