Skylight

class Skylight

A class to capture light from the sky in real time for diffuse and specular lighting.

Public Functions

void SIMUL_CLOUDS_EXPORT Update (crossplatform::GraphicsDeviceContext &deviceContext, BaseWeatherRenderer *weatherRenderer)

Update the skylight per-frame.

void SIMUL_CLOUDS_EXPORT RestoreDeviceObjects (crossplatform::RenderPlatform *r)

Initialize GPU objects.

void SIMUL_CLOUDS_EXPORT InvalidateDeviceObjects ()

Free the GPU objects.