engineSetBloom
Client
Sets how many blur levels bloom uses. More levels spread the glow further.
bool engineSetBloom(int levels)
Parameters
| Name | Type | Description |
|---|---|---|
| levels | int | 0 turns bloom off; otherwise from 2 to 5. The default is 5. Anything else raises an error. |
Returns
true if the setting was applied, false if the renderer is not running.
The setting applies to the whole client and stays after the resource stops.
Example
engineSetBloom(3)