17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-11 01:39:41 +01:00

Improve rain shader

This commit is contained in:
2026-10-26 15:51:56 +01:00
parent a6bdeeaa2b
commit 719c729929
43 changed files with 5620 additions and 355 deletions

View File

@@ -31,6 +31,7 @@ http://mozilla.org/MPL/2.0/.
#include "rendering/vulkan14/vulkan14terrain.h"
#include "rendering/vulkan14/vulkan14grass.h"
#include "rendering/vulkan14/vulkan14particles.h"
#include "rendering/vulkan14/vulkan14water.h"
#include "rendering/vulkan14/vulkan14commands.h"
#include "rendering/vulkan14/vulkan14raytracing.h"
#include "rendering/vulkan14/vulkan14dlss.h"
@@ -397,6 +398,8 @@ struct scene_state
bool grass_tried{false};
// the smoke and the rain or snow of the gpu
gpu_particles particles;
// the water on the windscreens of the cab of the train; its storage is held by the pass sets (WATER_SSBO)
windscreen_water water;
// the ray traced reflections (gfx.raytracing), on a device with ray queries; its set is set RT_SET of the pipelines of the scene
std::unique_ptr<ray_tracing> raytracing;
// the heatmap of the light clusters (gfx.lights.clusterheatmap), made when it's first drawn