fix hybrids

This commit is contained in:
littlebabyman 2024-11-30 01:01:22 +02:00
parent 788aa57c87
commit 7a28b45c04

View File

@ -144,6 +144,6 @@ end
function SWEP:SetHoloSightRenderDepth(mdl, depthadj)
local eyedist = WorldToLocal(mdl:GetPos(), mdl:GetAngles(), EyePos(), EyeAngles()).x
render.DepthRange(0, (depthadj or 0.0093) + (0.0005 * eyedist / 20))
render.DepthRange(0, 0.1+(depthadj or 0.0093) + (0.0005 * eyedist / 20))
-- render.DepthRange(0, (eyedist + 77.99) / 10000)
end