threejs-worldgen
Website
Demos
GitHub
Preparing search index...
threejs-sky
computeLighting
Function computeLighting
computeLighting
(
state
:
SkyState
,
atmosphere
:
AtmosphereOptions
,
options
:
LightingOptions
,
ctx
:
LightingContext
,
)
:
Lighting
Computes light colours, fog colour, sky brightness,
night
and an exposure suggestion. Pure.
Parameters
state
:
SkyState
atmosphere
:
AtmosphereOptions
options
:
LightingOptions
ctx
:
LightingContext
Returns
Lighting
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Website
Demos
GitHub
threejs-worldgen
Loading...
Computes light colours, fog colour, sky brightness,
nightand an exposure suggestion. Pure.