Skylight

class Skylight

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

Public Functions

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

Update the skylight per-frame.

void RestoreDeviceObjects(crossplatform::RenderPlatform *r)

Initialize GPU objects.

void InvalidateDeviceObjects()

Free the GPU objects.