API Reference > OdDb Classes > OdDbMentalRayRenderSettings Class > OdDbMentalRayRenderSettings Methods > OdDbMentalRayRenderSettings::setGlobalIlluminationEnabled Method
OdDbMentalRayRenderSettings::setGlobalIlluminationEnabled Method
Syntax
C++
void setGlobalIlluminationEnabled(bool globalIlluminationEnabled);
Parameters 
Description 
bool globalIlluminationEnabled 
[in] Controls GlobalIllumination. 

Controls global illumination using photon mapping for this MentalRayRenderSettings object.

Global illumination permits indirect lighting effects such as color-bleeding. 

The default value of GlobalIllumination is false.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.