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
|
@ -132,13 +132,15 @@ var shaderlib_regex = {
|
|||
"hsv": RegEx.create_from_string(r'\s*\#include\s+\"res\:\/\/shaderlib\/hsv\.gdshaderinc\"'),
|
||||
"transform": RegEx.create_from_string(r'\s*\#include\s+\"res\:\/\/shaderlib\/transform\.gdshaderinc\"'),
|
||||
"transparency": RegEx.create_from_string(r'\s*\#include\s+\"res\:\/\/shaderlib\/transparency\.gdshaderinc\"'),
|
||||
"effects": RegEx.create_from_string(r'\s*\#include\s+\"res\:\/\/shaderlib\/effects\.gdshaderinc\"')
|
||||
"effects": RegEx.create_from_string(r'\s*\#include\s+\"res\:\/\/shaderlib\/effects\.gdshaderinc\"'),
|
||||
"denoise": RegEx.create_from_string(r'\s*\#include\s+\"res\:\/\/shaderlib\/denoise\.gdshaderinc\"')
|
||||
}
|
||||
const shaderlib_functions = {
|
||||
"hsv": ["rgb2hsv", "hsv2rgb", "hsv_offset", "hsv_multiply"],
|
||||
"transform": ["place_texture"],
|
||||
"transparency": ["alpha_blend"],
|
||||
"effects": ["pixelate"]
|
||||
"effects": ["pixelate"],
|
||||
"denoise": ["smart_denoise"]
|
||||
}
|
||||
#
|
||||
# configure Highlighter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue