wgshadertoy
wgshadertoy copied to clipboard
A WGSL playground inspired by Shadertoy.
Might need a quick review, I've added unwraps to functions that return results, but that might not be the best idea. Other than that, should be good
``` warning: variant `Warning` is never constructed --> src/event.rs:8:5 | 5 | pub enum AppStatus { | --------- variant in this enum ... 8 | Warning(String), | ^^^^^^^ | =...
`wgshadertoy` uses `egui` as UI framework, which by default can only use a [limited number of fonts](https://github.com/emilk/egui/tree/master/crates/epaint/fonts). This leads to the need to load additional fonts in order to properly...
Thank you for the excellent WGSL shader toy. Is it possible to use the compute shaders and storage buffers in WgShadertoy? Compute shaders are considered an advantage over OpenGL. By...
## Issues Currently invalid shader input would **panic** at `device.create_shader_module`: https://github.com/fralonra/wgshadertoy/blob/87e36ac295b9c02f4c0e6dd1dc31231fa549ad59/src/runtime.rs#L280 Thus makes the whole program to crash. ## The approaches I've tried - use **`device.on_uncaptured_error`** to catch it: https://github.com/fralonra/wgshadertoy/blob/87e36ac295b9c02f4c0e6dd1dc31231fa549ad59/src/context.rs#L48...