GitHunt
LY

Lyptik/ShadersLibrary

Shader library for HeavyM, ISF format, mostly from Shadertoy.com

ISF Shader Library for HeavyM

Preview

Shader library for HeavyM, ISF format, mostly from https://Shadertoy.com
Needs HeavyM version 1.10 and later.

Usage:

Git clone in Documents\HeavyM\ShadersLibrary to use them.
For example, in the terminal/cmd/ps (needs git installed) :
git clone https://github.com/sophiadigitalart/ShadersLibrary.git then copy the folder contents in YourDocumentsFolder/HeavyM/ShadersLibrary

Contributing:

In case you want to contribute, instead of cloning this repo, fork it and :
Add shaders by copying Template.fs, edit, test, then share by doing a pull request!

Thumbnails:

png / jpg / gif size 120 x 68px

Standard uniforms:

HeavyM expect standard uniform variables named RENDERSIZE, TIME...
To ease the shader editing process, I propose to use defines to match shadertoy uniform variable names:

#define iResolution RENDERSIZE
#define iTime TIME 
Other unicorns:

iMouse, IDate and some other uniform variables are not currently supported, so I add them in the INPUTS section:

"INPUTS": [
    {
			"NAME" :	"iMouse",
			"TYPE" :	"point2D",
			"DEFAULT" :	[ 0.0, 0.0 ],
			"MAX" : 	[ 640.0, 480.0 ],
			"MIN" :  	[ 0.0, 0.0 ]
		}
    ]    

Result:

Check this shader for more input types.

Debug:

When you have an error on line x, substract 52(was 65) to have the real line in your shader file.

Contributors

GNU Affero General Public License v3.0
Created March 6, 2023
Updated March 6, 2023