Add nodes to demo hardlight being used to raise constrast with an s-curve

Introduces the same fantasy image in https://www.lightxapp.com/curves-tool-in-photo-editing/ which explains what an s-curve is
master
Treer 2021-09-26 01:03:06 +10:00
parent a574906c65
commit 23377e5155
2 changed files with 19 additions and 0 deletions

View File

@ -25,6 +25,25 @@ minetest.register_node("texturemodifiertest:HardlightBlend_Gradient_with_Testima
groups = {cracky = 1, oddly_breakable_by_hand = 1},
})
minetest.register_node("texturemodifiertest:Hardlight_to_raise_contrast", {
description = "Hard light blending an image with itself applys an s-curve effect that increases contrast without clipping",
tiles = {"testimage.png^[hardlight:testimage.png"},
groups = {cracky = 1, oddly_breakable_by_hand = 1},
})
minetest.register_node("texturemodifiertest:Fantasy_testimage", {
description = "Fantasy test image unmodified",
tiles = {"fantasy.png"},
groups = {cracky = 1, oddly_breakable_by_hand = 1},
})
minetest.register_node("texturemodifiertest:Hardlight_to_raise_contrast_fantasy", {
description = "Hard light blending an image with itself applys an s-curve effect that increases contrast without clipping",
tiles = {"fantasy.png^[hardlight:fantasy.png"},
groups = {cracky = 1, oddly_breakable_by_hand = 1},
})
-- Mismatched texture dimensions (Texture scaling)
minetest.register_node("texturemodifiertest:OverlayBlend_Testimage_with_TestImage2", {
description = "Overlay blend of Test image with TestTVScreen",

BIN
textures/fantasy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 KiB