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
42
46{
48 float shadow_intensity {0.0f};
49 float saturation {1.0f};
51 video::SColor shadow_tint {255, 0, 0, 0};
52 float bloom_intensity {0.05f};
54 float bloom_radius {1.0f};
55};
Definition clientmap.h:30
Parameters for automatic exposure compensation.
Definition lighting.h:19
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
constexpr AutoExposure()
Definition lighting.h:33
Describes ambient light settings for a player.
Definition lighting.h:46
float volumetric_light_strength
Definition lighting.h:50
float bloom_radius
Definition lighting.h:54
float shadow_intensity
Definition lighting.h:48
float bloom_strength_factor
Definition lighting.h:53
float saturation
Definition lighting.h:49
video::SColor shadow_tint
Definition lighting.h:51
float bloom_intensity
Definition lighting.h:52
AutoExposure exposure
Definition lighting.h:47