Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Latest commit

 

History

History
38 lines (24 loc) · 856 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 856 Bytes

GlitchApp

screenshot

Create image filters by writing shaders.

Supported Platforms

  • Linux

You can find the latest releases here.

Usage

The application includes presets. You can use them as a starting-point to write your own filters.
Just load an image, apply a preset, edit the code and hit F5 to see the changes.

Load additional images using the //!load directive

//!load <name> <filepath>
uniform sampler2D <name>;

With this you can load additional images into your shader.
Have a look at the Mix preset:

shader_type canvas_item;

//!load img2 ./icon.png
uniform sampler2D img2: repeat_enable, filter_nearest;

void fragment() {
	COLOR = mix(COLOR, texture(img2, UV), .5);
}