Garry's Mod Wiki

ProjectedTexture:SetShadowSlopeScaleDepthBias

ProjectedTexture:SetShadowSlopeScaleDepthBias

  ProjectedTexture:SetShadowSlopeScaleDepthBias( number bias )

Description

Sets the shadow depth slope scale bias of the projected texture.

The initial value is 2. Normal projected textures obey the value of the mat_slopescaledepthbias_shadowmap ConVar.

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

Arguments

1 number bias
The shadow depth slope scale bias to set.

Special Pages


Wikis

?

Render Time: 53ms

DB GetPage 36
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 7