Flathub Logo

WgShadertoy

ад fralonra

A WGSL playground inspired by Shadertoy

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.

Змены ў версіі 0.3.3

4 месяцы таму
(Сабрана 4 месяцы таму)
  • Спіса зменаў няма
  • Створана супольнасцю

    Гэтая праграма адкрыта распрацоўваецца супольнасцю валанцёраў і выпускаецца пад MIT License.
    Далучыцца
Усталяваны памер~18.22 MiB
Памер спампоўкі6.48 MiB
Даступныя архітэктурыx86_64, aarch64
Усталёвак975

Іншыя праграмы ад fralonra