Garry's Mod Wiki

IMaterial:SetShader

IMaterial:SetShader( string shaderName )

Description

We advise against using this. It may be changed or removed in a future update. This function does nothing

The functionality of this function was removed due to the amount of crashes it caused.

Arguments

1 string shaderName
Name of the shader

Page Links


Special Pages


Wikis

?

Render Time: 31ms

Session 0
DB GetPage 3
Generate Html 2
SaveChanges 8
Render Body 0
Render Sidebar 16