IMaterial.SetMaterialVector
From GMod Wiki
| Function | |
| Syntax | Material:SetMaterialVector( String parameter, Vector value ) |
| Description: | |
| Sets the materials parameter to a specific value. | |
| Returns: | nil |
| In Object: | Material |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=IMaterial.SetMaterialVector]IMaterial.SetMaterialVector [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- You can find your desired values by looking in the .VMT.
- This will effect anything that is using this material.
- In the .vmt, a vector is formatted like this, the value being in brackets:
"$phongfresnelranges" "[1.1 1.1 1.1]"