mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Bloom (#12791)
Adds configurable light exposure control and bloom effect (light bleeding) with client-side settings.
This commit is contained in:
parent
3978b9b8ed
commit
9df79a4b2d
16 changed files with 422 additions and 118 deletions
|
@ -46,6 +46,10 @@ class RenderingCore;
|
|||
class RenderingEngine
|
||||
{
|
||||
public:
|
||||
/// Default color factor before applying effects like bloom or tomemapping
|
||||
/// this is derived from tonemapping code and tuned empirically
|
||||
static constexpr float DEFAULT_EXPOSURE_FACTOR = 2.5f;
|
||||
|
||||
RenderingEngine(IEventReceiver *eventReceiver);
|
||||
~RenderingEngine();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue