Skip to content

About

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

Topics

Resources

Stars

23 stars

Watchers

2 watching

Forks

Latest commit

 

History

59 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Stars

23 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages