mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 03:28:37 +01:00
Cast shadows of scenery lamps from the scenery, nearby vehicles and the cab in the GL 4.6 renderer
This commit is contained in:
@@ -346,6 +346,13 @@ struct global_settings {
|
||||
// shadows of the lamps (cube shadow maps), 0 none, 1 low, 2 medium, 3 high; see opengl46_local_shadows. for now the lamp of the
|
||||
// occupied cab, its shadows cast by the cab
|
||||
int gfx_lights_shadows { 2 };
|
||||
// shadows of the lamps of scenery models (cube maps of the scenery around them, kept; vehicles added as they pass), with
|
||||
// gfx_lights_shadows above 0: how many lamps at once, the size of a face of their maps, the distance from the camera within
|
||||
// which lamps get shadows and within which vehicles (and the cab) cast them
|
||||
int gfx_lights_shadows_lamps { 8 };
|
||||
int gfx_lights_shadows_lamps_size { 512 };
|
||||
float gfx_lights_shadows_lamps_range { 100.f };
|
||||
float gfx_lights_shadows_vehicles_range { 50.f };
|
||||
|
||||
float ui_fontsize = 13.0f;
|
||||
float ui_scale = 1.0f;
|
||||
|
||||
Reference in New Issue
Block a user