set enable bloom||doc135731

September 20, 2022

Format

 GameSettings:setEnableBloom(_val) 

Description

Set whether to enable floodlighting. Flood light can make all bright areas have a halo effect, which can greatly improve the lighting effect in the scene.


Parameters

Variable name type Description
_val boolean Whether to enable


Code Samples

Blockman.Instance().gameSettings:setEnableBloom(true)
print(Blockman.Instance().gameSettings:getEnableBloom())