mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
RTScopePostInvertFunc
This commit is contained in:
parent
f3e708fe75
commit
9cfa8216ad
@ -177,6 +177,7 @@ ATT.RTScopeFLIRCCCold = { -- Color correction drawn only on FLIR targets
|
||||
}
|
||||
ATT.RTScopeFLIRFunc = function(swep) end
|
||||
ATT.RTScopeFLIRHotOnlyFunc = function(swep) end -- same but only for hot targets (try `DrawSobel(0.05)` here!!))
|
||||
ATT.RTScopePostInvertFunc = function(swep) end -- only when InvertColors is true
|
||||
|
||||
ATT.RTScopeMotionBlur = false
|
||||
|
||||
|
@ -92,6 +92,11 @@ function SWEP:DoRT(fov, atttbl)
|
||||
render.DrawTextureToScreen(rtmat_spare)
|
||||
|
||||
render.OverrideBlend(false)
|
||||
|
||||
if atttbl.RTScopePostInvertFunc then
|
||||
atttbl.RTScopePostInvertFunc(self)
|
||||
end
|
||||
|
||||
render.PopRenderTarget()
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user