Cloud Lighting¶
-
class CloudLighting¶
Public Functions
-
CloudLighting()¶
Constructor.
-
~CloudLighting()¶
Destructor.
-
void RestoreDeviceObjects(platform::crossplatform::RenderPlatform *r)¶
Platform-dependent function called when initializing the renderer.
-
void InvalidateDeviceObjects()¶
Platform-dependent function called when uninitializing the renderer.
-
void LoadShaders()¶
Platform-dependent function to reload the shaders - only use this for debug purposes.
-
void RelightBlock(platform::crossplatform::DeviceContext &deviceContext, int3 blockPos, int3 blockFill, vec3 dir_to_light, CloudWindow &cloudWindow, CloudRenderingOptions &cloudRenderingOptions, platform::crossplatform::Texture *cloud_texture, platform::crossplatform::Texture *light_texture, bool init)¶
Calculate the cloud lighting.
-
CloudLighting()¶