mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
rt scope hdr tonemap thing smooth now
This commit is contained in:
parent
cd524a3e56
commit
174162fb13
@ -344,7 +344,8 @@ function SWEP:DoRTScope(model, atttbl, active)
|
||||
|
||||
render.PopRenderTarget()
|
||||
-- if sd > 0 then render.SetToneMappingScaleLinear(render.GetToneMappingScaleLinear()*0.2) end
|
||||
if sd > 0.5 then render.SetToneMappingScaleLinear(vec1) end
|
||||
|
||||
if sd > 0.33 then render.SetToneMappingScaleLinear(LerpVector(sd * 1.5 - 0.5, render.GetToneMappingScaleLinear(), vec1)) end
|
||||
|
||||
local counterrotation = self.LastViewModelAng.z - sightzang + (arc9_cheapscopes:GetBool() and 0 or self.SubtleVisualRecoilAng.z * 2)
|
||||
rtsurf:SetTexture("$basetexture", rtmat)
|
||||
|
Loading…
Reference in New Issue
Block a user