Garry's Mod Wiki


void ProjectedTexture:SetEnableShadows( boolean newState )


Enable or disable shadows cast from the projected texture.

as with all types of projected textures (including the player's flashlight and env_projectedtexture), there can only be 8 projected textures with shadows enabled in total. This limit can be increased with the launch parameter:<br>-numshadowtextures limit<br>where limit is the new limit. Naturally, many projected lights with shadows enabled will drastically decrease framerate.

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


1 boolean newState

Page Links

Special Pages



Render Time: 28ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 9
Render Body 0
Render Sidebar 13