Garry's Mod Wiki

ProjectedTexture:SetShadowFilter

  ProjectedTexture:SetShadowFilter( number filter )

Description

Sets the shadow "filter size" of the projected texture. 0 is fully pixelated, higher values will blur the shadow more. The initial value is the value of r_projectedtexture_filter ConVar.

You must call ProjectedTexture:Update after using this function for it to take effect.

Arguments

1 number filter
The shadow filter size to set.