Create and apply image filters using Godot's GLSL dialect.
Find a file
2024-12-19 16:48:32 +01:00
dist Add export presets for Linux and Windows 2024-06-05 20:50:48 +02:00
scenes Rename to Fragmented 2024-12-19 16:48:32 +01:00
src Get content for Save from code_editor.text instead of Globals.shader.code - fixes #6 2024-06-21 10:38:31 +02:00
.gitattributes Add project files 2024-06-04 18:31:04 +02:00
.gitignore fix: Remember the location a shader was loaded from & improve functionality 2024-06-10 15:51:02 +02:00
export_presets.cfg Rename to Fragmented 2024-12-19 16:48:32 +01:00
icon.png Added project icon 2024-06-09 13:23:58 +02:00
icon.png.import Added project icon 2024-06-09 13:23:58 +02:00
LICENSE Add project files 2024-06-04 18:31:04 +02:00
project.godot Rename to Fragmented 2024-12-19 16:48:32 +01:00
README.md Rename to Fragmented 2024-12-19 16:48:32 +01:00
screenshot.png Added a screenshot and a README 2024-06-09 16:30:55 +02:00

Fragmented

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);
}