preProcess
Definition
-- @/lua/ge/client/postFx/lightRay.lua:45
lightRayPostFXCallbacks.preProcess = function()
local lightRayPostFX = scenetree.findObject("LightRayPostFX")
if not lightRayPostFX then
return
end
local resolutionScale = TorqueScriptLua.getVar("$LightRayPostFX::resolutionScale")
local targetScale = string.format("%s %s", resolutionScale, resolutionScale)
lightRayPostFX:setField("targetScale", 0, targetScale)
end
Callers
@/lua/ge/client/postFx/smaa.lua
-- log('I','postfx', 'Smaa.lua calling preProcess()....')
smaaPostEffectCallbacks.preProcess()
-- log('I','postfx', 'Smaa.lua calling preProcess()....')
smaaPostEffectCallbacks.preProcess()