mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-02 11:39:14 +01:00
Draw the cab probe with all the lights of the cab
This commit is contained in:
@@ -98,6 +98,7 @@
|
||||
#define MAX_CASCADES 3U
|
||||
#define MAX_PARAMS 3U
|
||||
#define MAX_HEADLIGHT_SHADOWS 4U
|
||||
#define MAX_CAB_PROBE_LAMPS 16U
|
||||
#define CLUSTER_GRID_X 16
|
||||
#define CLUSTER_GRID_Y 9
|
||||
#define CLUSTER_GRID_Z 24
|
||||
@@ -310,13 +311,16 @@ layout(std140, set = PASS_SET, binding = SCENE_UBO) uniform scene_ubo
|
||||
vec4 rain_wind;
|
||||
// the ambient occlusion in the light of the surfaces, see gl::scene_ubs
|
||||
vec4 ao_params;
|
||||
// the probe of the occupied cab, and the lamp it's drawn with, see gl::scene_ubs
|
||||
// the probe of the occupied cab, and the lights of the cab it's drawn with, see gl::scene_ubs
|
||||
mat4 cab_probe_view;
|
||||
vec4 cab_probe_box;
|
||||
vec4 cab_probe_params;
|
||||
vec4 cab_probe_lamp;
|
||||
vec4 cab_probe_lamp_color;
|
||||
vec4 cab_probe_lamp_shadow;
|
||||
vec4 cab_probe_lamp[MAX_CAB_PROBE_LAMPS];
|
||||
vec4 cab_probe_lamp_color[MAX_CAB_PROBE_LAMPS];
|
||||
vec4 cab_probe_lamp_shadow[MAX_CAB_PROBE_LAMPS];
|
||||
vec4 cab_probe_lamp_cone[MAX_CAB_PROBE_LAMPS];
|
||||
vec4 cab_probe_lamp_shape[MAX_CAB_PROBE_LAMPS];
|
||||
vec4 cab_probe_lamp_map[MAX_CAB_PROBE_LAMPS];
|
||||
// the occlusion of the sky and of the sun by the scenery around the camera, see gl::scene_ubs
|
||||
vec4 sky_occlusion_origin;
|
||||
vec4 sky_occlusion_params;
|
||||
|
||||
Reference in New Issue
Block a user