Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.render.setMaterialEffectColorModify

C๐Ÿท๏ธ Render

Part of StarfallEx namespace

๐Ÿ”— External
render.setMaterialEffectColorModify(mat, cmStructure)
View on GitHub|lua/starfall/libs_cl/render.lua:1190-1217
๐Ÿ“‹ 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

NameTypeDescription
matMaterialThe material object to use the texture of, or the name of a rendertarget to use instead.
cmStructuretableA 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.