#include <cassert>
#include "irrlichttypes.h"
Go to the source code of this file.
◆ LIGHT_MAX
◆ LIGHT_SUN
Referenced by voxalgo::LightQueue::LightQueue(), MapgenSinglenode::MapgenSinglenode(), blend_light(), voxalgo::blit_back_with_light(), voxalgo::LightQueue::clear(), decode_light(), voxalgo::finish_bulk_light_update(), getInteriorLight(), getSmoothLightCombined(), getVisibleBrightness(), voxalgo::is_light_locally_correct(), voxalgo::is_sunlight_above(), voxalgo::is_sunlight_above_block(), MapgenSinglenode::makeChunk(), voxalgo::propagate_block_sunlight(), Mapgen::propagateSunlight(), voxalgo::LightQueue::push(), voxalgo::repair_block_light(), set_light_table(), voxalgo::update_block_border_lighting(), voxalgo::update_lighting_nodes(), GenericCAO::updateLight(), and Particle::updateLight().
◆ blend_light()
u8 blend_light |
( |
u32 | daylight_factor, |
|
|
u8 | lightday, |
|
|
u8 | lightnight ) |
|
inline |
◆ decode_light()
u8 decode_light |
( |
u8 | light | ) |
|
|
inline |
◆ decode_light_f()
float decode_light_f |
( |
float | light_f | ) |
|
◆ set_light_table()
void set_light_table |
( |
float | gamma | ) |
|
References LightingParams::a, LightingParams::b, LightingParams::boost, LightingParams::c, LightingParams::center, decode_light_f(), g_settings, LightingParams::gamma, Settings::getFloat(), light_LUT, LIGHT_SUN, params, rangelim, and LightingParams::sigma.
Referenced by Game::run().
◆ light_decode_table
const u8* light_decode_table |
|
extern |