Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 686 Bytes

custom-params.md

File metadata and controls

32 lines (21 loc) · 686 Bytes

Custom parameters

Custom textures

Replaces textures in Image tab.

Example:

common tab:

/* shadertoy-plugin parameters
{
    "textures": [
        "https://www.shadertoy.com/media/shaders/XllSzr.jpg",
        "https://i.postimg.cc/Y98KxTJm/16c834b69c07d3ca51f6deb2ca47df8c.jpg"
    ]
}
*/

❗ Image MUST be served with HTTP Access-Control-Allow-Origin: * header or from the same domain (www.shadertoy.com). You can use various images hosting service (imgur, giphy, postimages)

👍 Base64 encoded URL is allowed

👎 Gifs are not animated

How to use