Part of StarfallEx namespace
๐ External
render.setMaterialEffectDownsample(mat, darken, multiply)๐ 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
| Name | Type | Description |
|---|---|---|
mat | Material | The material object to use the texture of, or the name of a rendertarget to use instead. |
darken | number | The amount to darken the texture by. -1 to 1 inclusive. |
multiply | number | The 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.