API Reference > imodeljs-common > DisplayStyles > ViewFlags > lighting lighting Accessor Controls whether or not lighting is applied. lighting: boolean note Has no effect unless renderMode is set to RenderMode.SmoothShade. Returns - boolean Setter Controls whether or not lighting is applied. lighting(enable: boolean): void note Has no effect unless renderMode is set to RenderMode.SmoothShade. Parameter Type Description enable boolean Returns - void Defined in core/common/src/ViewFlags.ts Line 203 Last Updated: 12 June, 2024