shaderlib: Add smart_denoise function, add example, move example images into separate folder; implements #29

This commit is contained in:
ChaoticByte 2025-01-08 20:53:45 +01:00
parent 7b72274140
commit 9b6d5d0a78
No known key found for this signature in database
17 changed files with 127 additions and 16 deletions

View file

@ -0,0 +1,9 @@
shader_type canvas_item;
//!load ./images/noisy.png
#include "res://shaderlib/denoise.gdshaderinc"
void fragment() {
COLOR = smart_denoise(TEXTURE, UV, 12.0, 1.0, .12);
}