render.SetColorMaterialIgnoreZ

From Garry's Mod
Jump to: navigation, search
 render.SetColorMaterialIgnoreZ( )

Description

Sets the current drawing material to "color_ignorez".

The material is defined as:

"UnlitGeneric"
{
	"$basetexture" "color/white"
 	"$model" 		1
	"$translucent" 	1
	"$vertexalpha" 	1
	"$vertexcolor" 	1
	"$ignorez"		1
}

Examples

Example

Equivalent of this function

render.SetMaterial( Material( "color_ignorez" ) )


Personal tools
Navigation