Garry's Mod Wiki

ProjectedTexture:SetShadowFilter

ProjectedTexture:SetShadowFilter( number filter )

Just Added

This was just added in the latest version (2021.03.31). It might only be available on the Dev Branch right now.

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_grain 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.

Page Links


Special Pages


Wikis

?

Render Time: 46ms

DB GetPage 25
Generate Html 3
SaveChanges (1) 10
Render Body 0
Render Sidebar 6