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

dynamically assigned render lights

This commit is contained in:
tmj-fstate
2017-02-27 02:58:38 +01:00
parent 0752024d47
commit 80b8da6749
16 changed files with 344 additions and 158 deletions

View File

@@ -233,9 +233,7 @@ class Global
#else
// TODO: put these things in the renderer
static opengl_light DayLight;
// TODO: possibly create a pool of few lights which can be attached to nearby vehicles
static opengl_light VehicleLight;
static opengl_light VehicleLightRear;
static int DynamicLightCount;
#endif
static GLfloat whiteLight[];
static GLfloat noLight[];