Mixed Resolution Compositor

class simul::clouds::MixedResolutionCompositor

A class to render mixed-resolution depth buffers.

Public Functions





void RestoreDeviceObjects(crossplatform::RenderPlatform *renderPlatform)

Platform-dependent function called when initializing the Compositor.

void InvalidateDeviceObjects()

Platform-dependent function called when uninitializing the water Compositor.

void RecompileShaders()

Platform-dependent function to reload the shaders - only use this for debug purposes.

Public Members

float Minthreshold

Avoid division by zero. Note: Be careful as 1 = 1m. so it will clip objects near the camera (10cm. works fine)