Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Share shader preset Sticky

A topic by Deakcor created Dec 25, 2020 Views: 383
Viewing posts 1 to 1
(5 edits) (+2)

Hi, to share a shader preset just open the shader preset file (.shadercfg) with a text editor. Then copy the result in code format. Here an example:

[pixelover]
version="0.1"
[shader]
modulate=Color( 1, 1, 1, 1 )
hue_amount=0.0
bright=100.0
contrast=135.0
sat=138.0
gamma=120.0
palette_enable=true
palette_imported_size=16
modulate_copied=Color( 1, 1, 1, 1 )
hue_amount_copied=0.0
bright_copied=100.0
contrast_copied=100.0
saturation_copied=100.0
gamma_copied=100.0
palette=Object(ImageTexture,"resource_local_to_scene":false,"resource_name":"","flags":2,"storage":0,"lossy_quality":0.7,"flags":2,"image":Object(Image,"resource_local_to_scene":false,"resource_name":"","data":{
"data": PoolByteArray( 26, 28, 44, 255, 93, 39, 93, 255, 177, 62, 83, 255, 239, 125, 87, 255, 255, 205, 117, 255, 167, 240, 112, 255, 56, 183, 100, 255, 37, 113, 121, 255, 41, 54, 111, 255, 59, 93, 201, 255, 65, 166, 246, 255, 115, 239, 247, 255, 244, 244, 244, 255, 148, 176, 194, 255, 86, 108, 134, 255, 51, 60, 87, 255 ),
"format": "RGBA8",
"height": 1,
"mipmaps": false,
"width": 16
},"script":null)
,"size":Vector2( 16, 1 ),"script":null)
enable_dithering=true
dithering_amount=26.0
enable_inline=true
inline_color=Color( 0, 0, 0, 1 )
mipmaps=true
filter=true
semi_opacity=false
alpha_to_zero=25.0
denoising=true
denoise_sigma=2.0
denoise_ksigma=2.0
denoise_threshold=0.1


To create the shader preset from this text, create a new file with a text editor, copy past these above lines and save the file with ".shadercfg" extension.

You just now have to open the file in PixelOver in shader menu.