shaderlib: Add smart_denoise function, add example, move example images into separate folder; implements #29
This commit is contained in:
parent
7b72274140
commit
9b6d5d0a78
17 changed files with 127 additions and 16 deletions
9
examples/denoise.gdshader
Normal file
9
examples/denoise.gdshader
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue