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

support rain shader in experimental

This commit is contained in:
Wls50
2025-11-22 17:06:06 +01:00
committed by Hirek
parent ac62f23f0f
commit 915e4c769e
7 changed files with 270 additions and 12 deletions

View File

@@ -8,6 +8,10 @@ cbuffer DrawConstants : register(b2) {
float g_Altitude;
float3 g_LightColor;
float g_Time;
float4 g_RainParams;
float4 g_WiperPos;
float4 g_WiperTimerOut;
float4 g_WiperTimerReturn;
}
float2 PixelToCS(in float2 pixel, in float2 size) {