Garry's Mod Wiki

ProjectedTexture:SetShadowSlopeScaleDepthBias

ProjectedTexture:SetShadowSlopeScaleDepthBias( number bias )

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

Page Links


Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 46
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 6