Garry's Mod Wiki

Garry's Mod Wiki

  render.ModelMaterialOverride( IMaterial material )

Description

Forces all future draw operations to use a specific IMaterial.

Because this is independent of a specific Entity, it can be used to change materials on static models that are part of maps.

Arguments

1 IMaterial material
The IMaterial that will be used for all upcoming draw operations, or nil to stop overriding.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...