reflection map fidelity level

This commit is contained in:
tmj-fstate
2020-08-03 16:49:01 +02:00
parent f2110ced25
commit d13221b270
7 changed files with 244 additions and 27 deletions

View File

@@ -127,7 +127,12 @@ struct global_settings {
unsigned int map_size{ 2048 };
float range{ 250.f };
} shadowtune;
double ReflectionUpdateInterval{ 300.0 };
struct reflectiontune_t {
double update_interval{ 300.0 };
int fidelity{ 0 }; // 0: sections, 1: +static models, 2: +vehicles
float range_instances{ 750.f };
float range_vehicles{ 250.f };
} reflectiontune;
bool bUseVBO{ true }; // czy jest VBO w karcie graficznej (czy użyć)
float AnisotropicFiltering{ 8.f }; // requested level of anisotropic filtering. TODO: move it to renderer object
float FieldOfView{ 45.f }; // vertical field of view for the camera. TODO: move it to the renderer