WgShadertoy is a WGSL playground inspired by Shadertoy.
It uses a binary format 'wgs' to save and load shaders and textures.
The runtime currently provides six parameters you can use in your shader as a uniform variable:
- cursor vec2 The mouse position in pixels.
- mouse_down u32 Whether the left button of the mouse is down.
- mouse_press vec2 The mouse position in pixels when the left button is pressed.
- mouse_release vec2 The mouse position in pixels when the left button is released.
- resolution vec2 The resolution of the canvas in pixels (width * height).
- time f32 The elapsed time since the shader first ran, in seconds.
Screenshots
Observed history
| App | Change | Version | When ↓ |
|---|
No observed changes yet.
The initial import establishes a baseline. Future version changes will appear here.
Browse the app catalogue →Upstream releases
Release notes supplied by the developer. These dates are not Flathub package publication times.
0.3.35 Jan 2024
No release notes supplied.
0.3.226 Oct 2023
No release notes supplied.
0.3.112 Jul 2023
No release notes supplied.
0.3.021 Jun 2023
Wgs is upgraded to version 1!
All wgs files generated by older version of WgShadertoy is not compatible with this or any newer version. Vice versa.
Read more: github.com/fralonra/wgs

