mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-09 00:17:39 +01:00
Shade the sky and the sun by the scenery around the camera instead of the track environment flags
This commit is contained in:
@@ -29,6 +29,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "rendering/vulkan14/vulkan14cull.h"
|
||||
#include "rendering/vulkan14/vulkan14shadows.h"
|
||||
#include "rendering/vulkan14/vulkan14cabprobe.h"
|
||||
#include "rendering/vulkan14/vulkan14skyocclusion.h"
|
||||
#include "rendering/vulkan14/vulkan14terrain.h"
|
||||
#include "rendering/vulkan14/vulkan14grass.h"
|
||||
#include "rendering/vulkan14/vulkan14particles.h"
|
||||
@@ -399,6 +400,9 @@ struct scene_state
|
||||
compute_kernel cabprobe_sh;
|
||||
buffer cabprobe_bounce;
|
||||
std::shared_ptr<image> cabprobe_empty;
|
||||
// the occlusion of the sky by the scenery around the camera (the track T): its maps, and their stand-ins while there are none
|
||||
sky_occlusion_maps skyocclusion;
|
||||
std::shared_ptr<image> skyocclusion_heights_empty, skyocclusion_empty;
|
||||
// the materials of the heightmap terrain (the stage P6), made with the bank of the textures
|
||||
std::unique_ptr<terrain_materials> terrain;
|
||||
// the grass of the heightmap terrain, and its program, made when it's first drawn
|
||||
|
||||
Reference in New Issue
Block a user