Garry's Mod Wiki

ProjectedTexture:SetShadowDepthBias

ProjectedTexture:SetShadowDepthBias

  ProjectedTexture:SetShadowDepthBias( number bias )

Description

Sets the shadow depth bias of the projected texture.

The initial value is 0.0001. Normal projected textures obey the value of the mat_depthbias_shadowmap ConVar.

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

Arguments

1 number bias
The shadow depth bias to set.

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 7