Part of StarfallEx namespace
๐ External
render.setMaterialEffectColorModify(mat, cmStructure)๐ Has LDoc๐๏ธ 1 viewsUpdated 1 week ago
Description
Sets the current render material to the given material or the rendertarget, applying a color modification shader to the texture. Alias: render.setMaterialEffectColourModify
Parameters
| Name | Type | Description |
|---|---|---|
mat | Material | The material object to use the texture of, or the name of a rendertarget to use instead. |
cmStructure | table | A table where each key must be of "addr", "addg", "addb", "brightness", "color" or "colour", "inv" or "invert", "contrast", "mulr", "mulg", and "mulb". All keys are optional. |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.