Contrast Filter on Multi-pass Effects Doesn't Work

This is the filter.lua file. I have had 4 nodes, but it still has the same outcome.

filter.lua:

local kernel = {} kernel.language = "glsl" kernel.category = "filter" kernel.name = "imageProcess" kernel.graph = {     nodes = {         contrast = { effect="filter.contrast", input1="paint1" },         brightness = { effect="filter.brightness", input1="contrast" }     },     output = "brightness", } return kernel

When the filter is applied to an object, the result will incorporate everything from the filter.lua, but NOT the contrast effect.

main.lua:

cameraShape.fill.effect.contrast = 5 cameraShape.fill.effect.brightness.intensity = 0.4

Can anybody see what’s going wrong here? All input welcome.

Thanks in Advance,

Ash

Fixdit