How do you remove Post Effects from a camera in LUA?
need this to remove Post Effects when Sanity is > 25
if self.Sanity >25 then
if SanityPostEffect == true then
self.camera:ClearPostEffects()
if HDR == 1 then
self.camera:AddPostEffect("Shaders/PostEffects/06_pp_hdr.lua")
end
end
end
or is this a Function and I can just call it to clear the post effect's?
as
self:ClearPostEffects()