Euphoria
render_settings.h
Go to the documentation of this file.
1#pragma once
2
3namespace eu::render
4{
5
10// todo(Gustav): figure out what values should force the renderer to restart.
13{
17
21 bool use_bloom = true;
22
26 int msaa = 4;
27
30 float gamma = 2.2f;
31
35 float bloom_cutoff = 1.0f;
36
40 float bloom_softness = 0.25f;
41
45
49
53};
54
59} // namespace eu::render
Definition ui.h:4
a size
Definition size.h:11
Startup settings for the renderer.
int bloom_blur_steps
how any steps of bloom blur to perform.
bool use_bloom
Should bloom be used? The renderer doesn't need to restart when this value has changed.
int msaa
Number of msaa samples to use.
bool use_tight_fit_shadows
Use a tight fit shadow map.
float gamma
The gamma correction value.
float bloom_softness
The bloom softness.
Size shadow_map_resolution
The resolution of the shadow map.
float bloom_cutoff
The bloom cutoff value.