void SetShadowFrustumSize(float size)
void SetShadowDistance(float dist)
void SetShadowBias(float bias)
void SetCastShadows(bool cast)
void SetShadowStrength(float strength)
Root namespace for everything the engine exposes.
uint32_t shadowMapResolution
uint32_t occlusionBufferWidth
float shadowCasterDistance
uint32_t occlusionBufferHeight
void ApplyShadows(Sleak::DirectionalLight &light) const
Copies the shadow-related fields onto a directional light.
static GraphicsConfig Preset(GraphicsQuality q)
Builds a config from a named quality preset.
bool occlusionCullingEnabled