< Previous | Contents | Next >

number r, g, b, a (number, required)

The amount by which to gain the image.

image

function Process(req)

local img

local gain

= InImage:GetValue(req)

= InGain:GetValue(req).Value

Example


local newimg = img:Copy() newimg:Gain(gain, gain, gain, gain)

OutImage:Set(req, newimg)

end