Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...