Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
lighting.h
Go to the documentation of this file.
1// Luanti
2// SPDX-License-Identifier: LGPL-2.1-or-later
3// Copyright (C) 2021 x2048, Dmitry Kostenko <codeforsmile@gmail.com>
4
5#pragma once
6#include "SColor.h"
7
8using namespace irr;
9
35
39{
41 float shadow_intensity {0.0f};
42 float saturation {1.0f};
44 video::SColor shadow_tint {255, 0, 0, 0};
45 float bloom_intensity {0.05f};
47 float bloom_radius {1.0f};
48};
Definition clientmap.h:30
Parameters for automatic exposure compensation.
Definition lighting.h:19
AutoExposure()
Definition lighting.cpp:7
float luminance_max
Maximum boundary for computed luminance.
Definition lighting.h:23
float exposure_correction
Luminance bias. Higher values make the scene darker, can be negative.
Definition lighting.h:25
float speed_dark_bright
Speed of transition from dark to bright scenes.
Definition lighting.h:27
float luminance_min
Minimum boundary for computed luminance.
Definition lighting.h:21
float speed_bright_dark
Speed of transition from bright to dark scenes.
Definition lighting.h:29
float center_weight_power
Power value for center-weighted metering. Value of 1.0 measures entire screen uniformly.
Definition lighting.h:31
Describes ambient light settings for a player.
Definition lighting.h:39
float volumetric_light_strength
Definition lighting.h:43
float bloom_radius
Definition lighting.h:47
float shadow_intensity
Definition lighting.h:41
float bloom_strength_factor
Definition lighting.h:46
float saturation
Definition lighting.h:42
video::SColor shadow_tint
Definition lighting.h:44
float bloom_intensity
Definition lighting.h:45
AutoExposure exposure
Definition lighting.h:40