16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 08:09:19 +02:00

opengl 3.3 renderer integration, minor renderer tweaks

This commit is contained in:
tmj-fstate
2019-10-31 19:37:53 +01:00
parent 9dcaa1e339
commit ae3cecfa42
49 changed files with 1804 additions and 412 deletions

View File

@@ -49,6 +49,7 @@ struct global_settings {
std::string asCurrentSceneryPath{ "scenery/" };
std::string asCurrentTexturePath{ szTexturePath };
std::string asCurrentDynamicPath;
bool GfxFramebufferSRGB { true };
// settings
// filesystem
bool bLoadTraction{ true };
@@ -107,6 +108,7 @@ struct global_settings {
float BaseDrawRange{ 2500.f };
int DynamicLightCount{ 3 };
bool ScaleSpecularValues{ true };
std::string GfxRenderer{ "default" };
bool BasicRenderer{ false };
bool RenderShadows{ true };
int RenderCabShadowsRange{ 0 };