mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-30 08:30:28 +01:00
Light the scene with lamps of models, vehicle compartments and the cab lamp in the GL 4.6 renderer
This commit is contained in:
2
gl/ubo.h
2
gl/ubo.h
@@ -169,7 +169,7 @@ namespace gl
|
||||
|
||||
// capacity of light_data.lights; slot 0 is the sun. a buffer size, not a limit of the shaders: they take the
|
||||
// number of lights from the header
|
||||
const size_t MAX_LIGHTS = 256;
|
||||
const size_t MAX_LIGHTS = 1024;
|
||||
|
||||
// contents of light_ssbo: global lighting header followed by the light array
|
||||
struct light_data
|
||||
|
||||
Reference in New Issue
Block a user