All Projects → fmenozzi → Shadertoy Rs

fmenozzi / Shadertoy Rs

Licence: mit
A desktop client for Shadertoy written in Rust

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Shadertoy Rs

Raymarching Workshop
An Introduction to Raymarching
Stars: ✭ 657 (+1502.44%)
Mutual labels:  shadertoy, graphics, shaders
Directxtk12
The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
Stars: ✭ 765 (+1765.85%)
Mutual labels:  graphics, shaders, desktop
Verticaldissolve
Procedural vertical dissolve shader. Highly customizable. Tweak edge color, noisiness & waviness, rim light, emission scrolling and more.
Stars: ✭ 434 (+958.54%)
Mutual labels:  graphics, shaders
Renderhelp
⚡️ 可编程渲染管线实现,帮助初学者学习渲染
Stars: ✭ 494 (+1104.88%)
Mutual labels:  graphics, shaders
Hybridrenderingengine
Clustered Forward/Deferred renderer with Physically Based Shading, Image Based Lighting and a whole lot of OpenGL.
Stars: ✭ 563 (+1273.17%)
Mutual labels:  graphics, shaders
Tinyraytracer
A brief computer graphics / rendering course
Stars: ✭ 3,971 (+9585.37%)
Mutual labels:  graphics, shaders
Shadergen
Proof-of-concept library for generating HLSL, GLSL, and Metal shader code from C#,
Stars: ✭ 395 (+863.41%)
Mutual labels:  graphics, shaders
Unity Shaders
A bunch of shader examples created in Unity (ShaderGraph & Built-in) 🧙✨
Stars: ✭ 564 (+1275.61%)
Mutual labels:  graphics, shaders
Spheredissolve
Customizable procedural spherical dissolve shader for Unity3D, for all your customizable procedural spherical dissolve needs!
Stars: ✭ 311 (+658.54%)
Mutual labels:  graphics, shaders
Hologramshader
✏️ Test of an hologram material made in Unity.
Stars: ✭ 684 (+1568.29%)
Mutual labels:  graphics, shaders
Radialprogressbar
Customizable radial progress bar shader for Unity3D. Allows you to set arc range, minimum and maximum colors, textures, radius, and a few more things. Create HP Bars, Speedometers, rank progress, etc!
Stars: ✭ 714 (+1641.46%)
Mutual labels:  graphics, shaders
Shader Doodle
A friendly web-component for writing and rendering shaders.
Stars: ✭ 356 (+768.29%)
Mutual labels:  shadertoy, shaders
Shader Toy
Shadertoy-like live preview for GLSL shaders in Visual Studio Code
Stars: ✭ 349 (+751.22%)
Mutual labels:  shadertoy, shaders
Holoshield
Highly customizable sci-fi shield / force field shader for Unity3D. Allows you to set edge power & color, inner texture scrolling, waviness, scale pulsation and procedural intensity noise. Implements tessellation for low-poly base meshes.
Stars: ✭ 401 (+878.05%)
Mutual labels:  graphics, shaders
Softwarerenderer
Software rendering engine with PBR. Built from scratch on C++.
Stars: ✭ 323 (+687.8%)
Mutual labels:  graphics, shaders
Texturepanner
This repository hosts a shader for Unity3D whose main goal is to facilitate the creation of neon-like signs, conveyor belts and basically whatever based on scrolling textures
Stars: ✭ 528 (+1187.8%)
Mutual labels:  graphics, shaders
Cloner
An example of use of procedural instancing.
Stars: ✭ 260 (+534.15%)
Mutual labels:  graphics, shaders
Diligentcore
Core functionality of Diligent Engine
Stars: ✭ 263 (+541.46%)
Mutual labels:  graphics, shaders
Nova Renderer
Nova Renderer, a custom cross platform render engine written in C++
Stars: ✭ 619 (+1409.76%)
Mutual labels:  graphics, shaders
Shaderman
Convert ShaderToy to Unity HLSL/CG
Stars: ✭ 734 (+1690.24%)
Mutual labels:  shadertoy, shaders

Build Status Crates.io Version

Desktop Shadertoy client, written in Rust.

While it's still a work in progress, you can run some example shaders to see that it's working:

cargo run --release -- --example seascape
cargo run --release -- --example elemental-ring

Make sure you build/run in release mode; textures take several seconds to load in debug mode. You can also download from crates.io.

So long as you restrict yourself to the supported uniforms, shaders copy-pasted directly from Shadertoy should run with no modifications (if they don't, feel free to file an issue or open a pull request). The following uniforms are currently supported, with more coming soon:

  • iGlobalTime
  • iTime (same as iGlobalTime; iGlobalTime will eventually be deprecated by Shadertoy)
  • iResolution
  • iMouse
  • iFrame
  • iChannel0, iChannel1, iChannel2, iChannel3
    • These are 2D RGBA textures

You can press F5 to reload the shader if you've edited it since launching the app.

You can also download (and optionally run) shaders directly from Shadertoy if you have the URL or shader ID. For example, to download the classic Seascape shader, you can run

shadertoy get https://www.shadertoy.com/view/Ms2SD1

or just

shadertoy get Ms2SD1

Add the -r/--run flag to automatically run the downloaded shader

For now, the CLI looks like this:

shadertoy 0.4.4
Federico Menozzi <[email protected]>
Desktop client for Shadertoy

USAGE:
    shadertoy [OPTIONS] [shader] [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -e, --example <example>      Run example shader from examples/ directory
    -H, --height <height>        Sets window height [default: 400]
        --texture0 <texture0>    Path to 2D RGBA texture for iChannel0
        --texture1 <texture1>    Path to 2D RGBA texture for iChannel1
        --texture2 <texture2>    Path to 2D RGBA texture for iChannel2
        --texture3 <texture3>    Path to 2D RGBA texture for iChannel3
    -W, --width <width>          Sets window width [default: 600]

ARGS:
    <shader>    Path to fragment shader [default: shaders/default.frag]

SUBCOMMANDS:
    get     Download shaders from shadertoy.com
    help    Prints this message or the help of the given subcommand(s)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].