An open API service indexing awesome lists of open source software.

https://github.com/qa-chrisb/random-shader-window

This project is a playground for learning how to use the WebGPU Shading Language (WGSL). It sets up a window and a basic render pipeline using the wgpu and winit crates, and then applies a random shader to the window.
https://github.com/qa-chrisb/random-shader-window

rust wgpu wgsl winit

Last synced: about 2 months ago
JSON representation

This project is a playground for learning how to use the WebGPU Shading Language (WGSL). It sets up a window and a basic render pipeline using the wgpu and winit crates, and then applies a random shader to the window.

Awesome Lists containing this project

README

          

# Random Shader Window

This project is a playground for learning how to use the WebGPU Shading Language (WGSL). It sets up a window and a basic render pipeline using the `wgpu` and `winit` crates, and then applies a random shader to the window.

![simple_render_window](https://github.com/cabrownlie/random-shader-window/assets/13515086/deb115f0-15e5-4e52-9b37-2b646324e23d)

## Features

- Window setup using `winit`
- Basic render pipeline setup using `wgpu`
- Random shader application

## Usage

To run the application, use the following command:

```bash
cargo run
```

## Note
This project is primarily for learning purposes and is not intended to be a fully-featured application. The render pipeline setup is kept as simple as possible to focus on the shader functionality. Future improvements may include tweaking the render pipeline setup to ensure compatibility with other platforms.

## Dependencies
- Rust
- wgpu
- winit
-tokio

## Contributing
This project is just a personal learning playground, but if you're interested in WGSL and want to contribute, feel free to open a pull request or issue.

## License
This project is licensed under the MIT License.