Commit graph

66 commits

Author SHA1 Message Date
560e455cd2
Disable VSync while ImageCompositor.update processes the image 2025-03-31 21:24:07 +02:00
9d23efea63
Fix: Show and align image viewport before first step 2025-03-31 15:39:36 +02:00
4546b9eac0
fix: re-enable buttons after image export 2025-03-15 20:40:11 +01:00
b6f6c3d27e
Change background and fix image viewport outline 2025-03-13 21:41:01 +01:00
9b1efc1513
Update to Godot 4.4 2025-03-13 20:57:31 +01:00
b916f43f8b
Fix shader include relative include by using ResourceLoader load() instead of loading the text from the file - fixes #56 2025-02-06 19:54:20 +01:00
cc59ba9b9e
Fix missing STEP variable by making it mandatory to be defined as a uniform in the shader file 2025-02-05 17:48:49 +01:00
6a7dc164fe
Revert "CLI dump-shaderlib: Update help message"
This reverts commit d29f14c7c9.
2025-02-04 19:04:10 +01:00
ddba85d17c
Revert "Add a method to dump the shaderlib to the local filesystem - implements #47"
This reverts commit a4a1de4bfe.
2025-02-04 19:00:31 +01:00
5a8a6e4c61
Fixed commandline: apply 2025-02-03 19:25:48 +01:00
9f5011aaac
Removed all editor functionality and improved new viewer-only UI #54 2025-02-03 17:40:56 +01:00
d29f14c7c9
CLI dump-shaderlib: Update help message 2025-01-31 20:24:40 +01:00
a4a1de4bfe
Add a method to dump the shaderlib to the local filesystem - implements #47 2025-01-31 20:20:35 +01:00
168cb036be
Clean up Main.gd, improve CLI and rename 'cli' command to 'apply' - implements #48 2025-01-31 19:51:30 +01:00
632b4593aa
Add Kuwahara Filter, implements #49 2025-01-27 23:09:07 +01:00
f8cfbf91c9
Fixed out-of-date shaderlib autocomplete 2025-01-27 22:57:01 +01:00
7810a1fa83
cli: added support for processing whole directories (batch mode) - this implements #40; changed build template to support more image formats 2025-01-26 21:38:16 +01:00
0fad7cb575
Implement a commandline interface that can be used in scripts - implements #42 2025-01-19 12:51:10 +01:00
1a21589fc1
Implement oklab, oklch color space conversion functions, add example, restructure comments in the shaderlib, implements #37 2025-01-17 16:51:17 +01:00
d08329c750
shaderlib: Implement gaussian_blur(); implements #39 2025-01-11 15:59:58 +01:00
85d33d5d77
Refactored Main/%Compositor into a standalone ImageCompositor class; implements #38 2025-01-10 22:18:43 +01:00
3b47d57353
shaderlib: Remove hsv_multiply and hsv_offset, rename hsv.gdshaderinc to colorspaces.gdshaderinc, update autocomplete and example accordingly; implements #36 2025-01-10 21:58:37 +01:00
9b6d5d0a78
shaderlib: Add smart_denoise function, add example, move example images into separate folder; implements #29 2025-01-08 20:53:45 +01:00
7b72274140
Don't try to load the shader code if the file couldn't be opened 2025-01-08 19:43:27 +01:00
4d12ad4432
shaderlib: Implement a simple pixelate function (effects.gdshaderinc), examples/hsv.gdshader -> color_and_pixelate.gdshader; implements #30 2025-01-08 19:41:03 +01:00
974c40fcb4
Remember last opened file and open it on start, implements #33 2025-01-07 22:46:13 +01:00
ec7544cb3b
Add autocomplete support for preprocessor directives, implements #34 2025-01-07 22:19:08 +01:00
71394edbf1
Disable Export Button during Composite applying shader, implements #31 2025-01-07 21:58:20 +01:00
fd16d2a8df
Assign ShaderMaterial outside of loop 2025-01-07 21:53:15 +01:00
2646f3da9b
Minor typo Compositor.gd 2025-01-06 22:26:53 +01:00
0ddfa74bb4
Call camera.fit_image() only once in $Compositor.update() 2025-01-06 22:24:43 +01:00
885cfbf3bc
Pass a String to the shader directive parser functions instead of Shader 2025-01-06 22:22:42 +01:00
1d9f838668
Add //!steps directive, some code cleanup, updated README & examples 2025-01-06 22:11:53 +01:00
afea5c9727
Update the window title when saving the shader file - fix #26 2024-12-30 18:34:51 +01:00
1635cd5b82
shaderlib: Add alpha_blend function, extend place_texture example, update autocomplete - implements #23 2024-12-30 17:02:19 +01:00
3abaf38400
Add shaderlib function to autocomplete with, check which files are included - implements #25 2024-12-29 21:32:54 +01:00
7f1415dada
Remove some obsolete autocomplete keywords - closes #18 2024-12-29 21:07:32 +01:00
11ba75517c
Implement a naive way of checking if the shader compilation failed - implements 1/2 of #16 2024-12-29 19:45:57 +01:00
bbbd35f26d
Update window title with current shader filename - implements #22 2024-12-28 00:12:40 +01:00
8b5a1cc37d
Update image outline when new image is loaded 2024-12-27 23:54:38 +01:00
bae23b0ee6
Rename ImageViewport to Compositor 2024-12-26 22:28:58 +01:00
8394ad9d3c
Added an error indicator and error message box and refactored some code in the process - implements #21, prepares #16 2024-12-26 22:18:18 +01:00
ca40971e53
Add a 'New' and 'Save As' button and improve save behaviour, additional minor improvements - fix #20 2024-12-25 00:08:25 +01:00
ad6d2add1b
Cleaned up and refactored some code 2024-12-21 18:25:11 +01:00
57328bc9a3
Place the viewer and editor in separate windows 2024-12-21 17:08:26 +01:00
f069f2911f
Add an outline to the result preview 2024-12-21 17:08:15 +01:00
a9a90235d9
Make UI a little more compact and define a minimum window size 2024-12-19 19:14:39 +01:00
4b28a6427e
Removed presets, load all images via load directives (implements #9), removed obsolete code, added some improvements 2024-12-19 18:52:47 +01:00
d866fd1fe8
Get content for Save from code_editor.text instead of Globals.shader.code - fixes #6 2024-06-21 10:38:31 +02:00
367dbe163c
Store shader directory as working directory and use this as the root for relative uniform image imports via !load directive, drop Windows compatibility - solves #7 2024-06-21 10:33:34 +02:00