Garry's Mod
GShader Library
Mostrando 11-20 de 88 aportaciones
< 1  2  3  4 ... 9 >
Actualización: 4 OCT a las 11:24 a. m.

Fixes

Actualización: 4 OCT a las 10:54 a. m.

Actualización: 4 OCT a las 10:38 a. m.

Fixed fog mask for Proton

Actualización: 1 OCT a las 1:06 p. m.

Normal smooth optimisation

Actualización: 27 SEP a las 10:48 a. m.

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

Actualización: 27 SEP a las 8:53 a. m.

Small update for ARCCW

Actualización: 27 SEP a las 8:50 a. m.

Small update for ARC9

Actualización: 23 SEP a las 6:04 a. m.

FAS2 adaptation

Actualización: 23 SEP a las 5:29 a. m.

Fog optimisation

Actualización: 21 SEP a las 6:16 p. m.

- 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