Garry's Mod Wiki

ProjectedTexture:SetShadowDepthBias

ProjectedTexture:SetShadowDepthBias( 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 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.

Page Links


Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 51
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 7