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

SFEX.render.setMaterialEffectDownsample

C๐Ÿท๏ธ Render

Part of StarfallEx namespace

๐Ÿ”— External
render.setMaterialEffectDownsample(mat, darken, multiply)
View on GitHub|lua/starfall/libs_cl/render.lua:1094
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Sets the current render material to the given material or the rendertarget, darkening the texture, and scaling up color values.

Parameters

NameTypeDescription
matMaterialThe material object to use the texture of, or the name of a rendertarget to use instead.
darkennumberThe amount to darken the texture by. -1 to 1 inclusive.
multiplynumberThe amount to multiply the pixel colors by. (0-1024)

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.