An open API service indexing awesome lists of open source software.

https://github.com/ChaoticByte/Fragmented

Create and apply image filters using Godot's GLSL dialect
https://github.com/ChaoticByte/Fragmented

gdshader glsl godot image image-filters image-manipulation shaders

Last synced: about 1 year ago
JSON representation

Create and apply image filters using Godot's GLSL dialect

Awesome Lists containing this project

README

          

GlitchApp

![screenshot](./screenshot.png)

Create image filters by writing shaders.

## Supported Platforms

- Linux

You can find the latest releases [here](https://github.com/ChaoticByte/GlitchApp/releases/latest).

## 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

```glsl
//!load
uniform sampler2D ;
```

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

```glsl
shader_type canvas_item;

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

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