mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
Added gamma setting
This commit is contained in:
parent
4fd398844e
commit
a7ac539429
3 changed files with 3 additions and 1 deletions
|
|
@ -47,6 +47,7 @@ struct GraphicsSettings {
|
|||
/* Fog opacity is calculated as `pow(depth*k, fogCurve)` where k depends on chunksLoadDistance.
|
||||
Use values in range [1.0 - 2.0] where 1.0 is linear, 2.0 is quadratic */
|
||||
float fogCurve = 1.6f;
|
||||
float gamma = 1.0f;
|
||||
/* Enable blocks backlight to prevent complete darkness */
|
||||
bool backlight = true;
|
||||
/* Enable chunks frustum culling */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue