setShaderConsts
Definition
-- @/lua/ge/client/postFx/chromaticLens.lua:30
chromaticLensPostFXCallbacks.setShaderConsts = function ()
log('I','postfx','Calling setShaderConsts from chromaticLensPostFX')
local chromaticLensPostFX = scenetree.findObject("ChromaticLensPostFX")
if chromaticLensPostFX then
chromaticLensPostFX:setShaderConst("$distCoeff", distCoeffecient );
chromaticLensPostFX:setShaderConst("$cubeDistort", cubeDistortionFactor );
chromaticLensPostFX:setShaderConst("$colorDistort", colorDistortionFactor );
end
end
Callers