18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-21 14:24:58 +01:00

Light the occupied cab with the light points of its model

This commit is contained in:
2026-10-28 21:16:22 +01:00
parent 65e104f813
commit 8c6a47f42c
5 changed files with 70 additions and 19 deletions

View File

@@ -539,8 +539,8 @@ struct global_settings {
// occupied cab, its shadows cast by the cab
int gfx_lights_shadows { 2 };
// with gfx_lights_shadows above 0: how many lights of the occupied cab (its lamps, the lights of its desk) at most have shadows
// cast by the cab, the brightest ones (0-8)
int gfx_lights_shadows_cab { 4 };
// cast by the cab, the brightest ones (0-16); the others take the shadows of the map of the closest light with one
int gfx_lights_shadows_cab { 8 };
// 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