Garry's Mod
GShader Library
88件中 11-20 を表示
< 1  2  3  4 ... 9 >
更新:10月4日 @ 11時24分
更新者:Evgeny Akabenko

Fixes

更新:10月4日 @ 10時54分
更新者:Evgeny Akabenko

更新:10月4日 @ 10時38分
更新者:Evgeny Akabenko

Fixed fog mask for Proton

更新:10月1日 @ 13時06分
更新者:Evgeny Akabenko

Normal smooth optimisation

更新:9月27日 @ 10時48分
更新者:Evgeny Akabenko

ACRCW base fix

if ArcCW then local function FixACRCWBase(class) class = class or "arccw_base" local ENT = weapons.GetStored(class) old_DrawHolosight = old_DrawHolosight or ENT.DrawHolosight old_FormCheapScope = old_FormCheapScope or ENT.FormCheapScope local function depthBufferCheck() local rt = render.GetRenderTarget() return rt and rt:GetName() == "_rt_resolvedfullframedepth" end function ENT:DrawHolosight(...) if depthBufferCheck() then return end old_DrawHolosight(self, ...) end function ENT:FormCheapScope(...) if depthBufferCheck() then return end old_FormCheapScope(self, ...) end weapons.Register(ENT, class) end for k,v in pairs(weapons.GetList()) do if v.Base == "arccw_base" then print(v.Base) FixACRCWBase(v.ClassName) end end FixACRCWBase() end

更新:9月27日 @ 8時53分
更新者:Evgeny Akabenko

Small update for ARCCW

更新:9月27日 @ 8時50分
更新者:Evgeny Akabenko

Small update for ARC9

更新:9月23日 @ 6時04分
更新者:Evgeny Akabenko

FAS2 adaptation

更新:9月23日 @ 5時29分
更新者:Evgeny Akabenko

Fog optimisation

更新:9月21日 @ 18時16分
更新者:Evgeny Akabenko

- Fog Mask optimisation.
New function:

function shaderlib.GetViewProjZ(viewData) if !ismatrix(viewData) then viewData = shaderlib.GetViewProjMatrix(viewData) end return Vector4( viewData:GetField( 3,1 ), viewData:GetField( 3,2 ), viewData:GetField( 3,3 ), viewData:GetField( 3,4 ) ) end