//rain
// ---- Created with 3Dmigoto v0.6.109 on Wed Feb 18 23:47:22 2026
cbuffer cb4 : register(b4)
{
  float4 cb4[21];
}

cbuffer cb3 : register(b3)
{
  float4 cb3[10];
}

cbuffer cb2 : register(b2)
{
  float4 cb2[46];
}

cbuffer cb1 : register(b1)
{
  float4 cb1[6];
}

cbuffer cb0 : register(b0)
{
  float4 cb0[15];
}




// 3Dmigoto declarations
#define cmp -
Texture1D<float4> IniParams : register(t120);
Texture2D<float4> StereoParams : register(t125);


void main(
  float4 v0 : POSITION0,
  float4 v1 : TANGENT0,
  float3 v2 : NORMAL0,
  float4 v3 : TEXCOORD0,
  float4 v4 : TEXCOORD1,
  float4 v5 : TEXCOORD2,
  float4 v6 : TEXCOORD3,
  float4 v7 : COLOR0,
  out float4 o0 : SV_POSITION0,
  out float4 o1 : TEXCOORD0,
  out float2 o2 : TEXCOORD1,
  out float p2 : TEXCOORD8,
  out float4 o3 : TEXCOORD2,
  out float4 o4 : TEXCOORD3,
  out float4 o5 : TEXCOORD4,
  out float4 o6 : COLOR0,
  out float4 o7 : TEXCOORD5,
  out float4 o8 : TEXCOORD6,
  out float4 o9 : TEXCOORD7,
  out float4 o10 : TEXCOORD10)
{
  float4 r0,r1,r2,r3,r4,r5;
  uint4 bitmask, uiDest;
  float4 fDest;
  
float4 s = StereoParams.Load(0);
float4 testeo = IniParams.Load(int2(90,0));    

  r0.xyzw = cb3[1].xyzw * v0.yyyy;
  r0.xyzw = cb3[0].xyzw * v0.xxxx + r0.xyzw;
  r0.xyzw = cb3[2].xyzw * v0.zzzz + r0.xyzw;
  r1.xyzw = cb3[3].xyzw + r0.xyzw;
  r0.xyz = cb3[3].xyz * v0.www + r0.xyz;
  r2.xyzw = cb4[18].xyzw * r1.yyyy;
  r2.xyzw = cb4[17].xyzw * r1.xxxx + r2.xyzw;
  r2.xyzw = cb4[19].xyzw * r1.zzzz + r2.xyzw;
  r2.xyzw = cb4[20].xyzw * r1.wwww + r2.xyzw;
  o0.xyzw = r2.xyzw;
  
r2.x += s.x * (r2.w - s.y);  
  
  r3.xy = cb1[0].xx * float2(8,40) + v3.xy;
  r3.xy = cb0[12].xy * r3.xy;
  o1.xy = r3.xy * float2(4,4) + cb0[12].zw;
  r3.xy = cb1[0].xx * float2(4,20) + v4.xy;
  r3.xy = cb0[13].xy * r3.xy;
  o1.zw = r3.xy * float2(4,4) + cb0[13].zw;
  r3.y = cb1[0].x * 10 + v5.y;
  r3.x = cb1[0].x * 4 + v5.x;
  r3.xy = cb0[14].xy * r3.xy;
  o2.xy = r3.xy * float2(8,8) + cb0[14].zw;
  p2.x = r2.z;
  o7.zw = r2.zw;
  o3.w = r0.x;
  r3.xyz = cb3[1].yzx * v1.yyy;
  r3.xyz = cb3[0].yzx * v1.xxx + r3.xyz;
  r3.xyz = cb3[2].yzx * v1.zzz + r3.xyz;
  r0.w = dot(r3.xyz, r3.xyz);
  r0.w = rsqrt(r0.w);
  r3.xyz = r3.xyz * r0.www;
  o3.x = r3.z;
  r0.w = cb3[9].w * v1.w;
  r4.x = dot(v2.xyz, cb3[4].xyz);
  r4.y = dot(v2.xyz, cb3[5].xyz);
  r4.z = dot(v2.xyz, cb3[6].xyz);
  r2.z = dot(r4.xyz, r4.xyz);
  r2.z = rsqrt(r2.z);
  r4.xyz = r4.xyz * r2.zzz;
  r5.xyz = r4.zxy * r3.xyz;
  r5.xyz = r4.yzx * r3.yzx + -r5.xyz;
  r5.xyz = r5.xyz * r0.www;
  o3.y = r5.x;
  o3.z = r4.x;
  o4.x = r3.x;
  o5.x = r3.y;
  o4.w = r0.y;
  o4.y = r5.y;
  o5.y = r5.z;
  o4.z = r4.y;
  o5.w = r0.z;
  o8.xyz = r0.xyz;
  o5.z = r4.z;
  o6.xyzw = v7.xyzw;
  r0.x = cb1[5].x * r2.y;
  r2.xz = float2(0.5,0.5) * r2.xw;
  r2.w = 0.5 * r0.x;
  o7.xy = r2.xw + r2.zz;
  r0.x = cb4[10].z * r1.y;
  r0.x = cb4[9].z * r1.x + r0.x;
  r0.x = cb4[11].z * r1.z + r0.x;
  r0.x = cb4[12].z * r1.w + r0.x;
  o8.w = -r0.x;
  r0.x = r4.y * r4.y;
  r0.x = r4.x * r4.x + -r0.x;
  r1.xyzw = r4.xyzz * r4.yzzx;
  r2.x = dot(cb2[42].xyzw, r1.xyzw);
  r2.y = dot(cb2[43].xyzw, r1.xyzw);
  r2.z = dot(cb2[44].xyzw, r1.xyzw);
  r0.xyz = cb2[45].xyz * r0.xxx + r2.xyz;
  r4.w = 1;
  r1.x = dot(cb2[39].xyzw, r4.xyzw);
  r1.y = dot(cb2[40].xyzw, r4.xyzw);
  r1.z = dot(cb2[41].xyzw, r4.xyzw);
  o9.xyz = r1.xyz + r0.xyz;
  o10.xyzw = float4(0,0,0,0);
  

o0.x += s.x;  
  
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v0.6.109 on Wed Feb 18 23:47:22 2026
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE   float   xyzw
// TANGENT                  0   xyzw        1     NONE   float   xyzw
// NORMAL                   0   xyz         2     NONE   float   xyz
// TEXCOORD                 0   xyzw        3     NONE   float   xy
// TEXCOORD                 1   xyzw        4     NONE   float   xy
// TEXCOORD                 2   xyzw        5     NONE   float   xy
// TEXCOORD                 3   xyzw        6     NONE   float
// COLOR                    0   xyzw        7     NONE   float   xyzw
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// TEXCOORD                 0   xyzw        1     NONE   float   xyzw
// TEXCOORD                 1   xy          2     NONE   float   xy
// TEXCOORD                 8     z         2     NONE   float     z
// TEXCOORD                 2   xyzw        3     NONE   float   xyzw
// TEXCOORD                 3   xyzw        4     NONE   float   xyzw
// TEXCOORD                 4   xyzw        5     NONE   float   xyzw
// COLOR                    0   xyzw        6     NONE   float   xyzw
// TEXCOORD                 5   xyzw        7     NONE   float   xyzw
// TEXCOORD                 6   xyzw        8     NONE   float   xyzw
// TEXCOORD                 7   xyz         9     NONE   float   xyz
// TEXCOORD                10   xyzw       10     NONE   float   xyzw
//
vs_4_0
dcl_constantbuffer CB0[15], immediateIndexed
dcl_constantbuffer CB1[6], immediateIndexed
dcl_constantbuffer CB2[46], immediateIndexed
dcl_constantbuffer CB3[10], immediateIndexed
dcl_constantbuffer CB4[21], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xyzw
dcl_input v2.xyz
dcl_input v3.xy
dcl_input v4.xy
dcl_input v5.xy
dcl_input v7.xyzw
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output o2.z
dcl_output o3.xyzw
dcl_output o4.xyzw
dcl_output o5.xyzw
dcl_output o6.xyzw
dcl_output o7.xyzw
dcl_output o8.xyzw
dcl_output o9.xyz
dcl_output o10.xyzw
dcl_temps 6
mul r0.xyzw, v0.yyyy, cb3[1].xyzw
mad r0.xyzw, cb3[0].xyzw, v0.xxxx, r0.xyzw
mad r0.xyzw, cb3[2].xyzw, v0.zzzz, r0.xyzw
add r1.xyzw, r0.xyzw, cb3[3].xyzw
mad r0.xyz, cb3[3].xyzx, v0.wwww, r0.xyzx
mul r2.xyzw, r1.yyyy, cb4[18].xyzw
mad r2.xyzw, cb4[17].xyzw, r1.xxxx, r2.xyzw
mad r2.xyzw, cb4[19].xyzw, r1.zzzz, r2.xyzw
mad r2.xyzw, cb4[20].xyzw, r1.wwww, r2.xyzw
mov o0.xyzw, r2.xyzw
mad r3.xy, cb1[0].xxxx, l(8.000000, 40.000000, 0.000000, 0.000000), v3.xyxx
mul r3.xy, r3.xyxx, cb0[12].xyxx
mad o1.xy, r3.xyxx, l(4.000000, 4.000000, 0.000000, 0.000000), cb0[12].zwzz
mad r3.xy, cb1[0].xxxx, l(4.000000, 20.000000, 0.000000, 0.000000), v4.xyxx
mul r3.xy, r3.xyxx, cb0[13].xyxx
mad o1.zw, r3.xxxy, l(0.000000, 0.000000, 4.000000, 4.000000), cb0[13].zzzw
mad r3.y, cb1[0].x, l(10.000000), v5.y
mad r3.x, cb1[0].x, l(4.000000), v5.x
mul r3.xy, r3.xyxx, cb0[14].xyxx
mad o2.xy, r3.xyxx, l(8.000000, 8.000000, 0.000000, 0.000000), cb0[14].zwzz
mov o2.z, r2.z
mov o7.zw, r2.zzzw
mov o3.w, r0.x
mul r3.xyz, v1.yyyy, cb3[1].yzxy
mad r3.xyz, cb3[0].yzxy, v1.xxxx, r3.xyzx
mad r3.xyz, cb3[2].yzxy, v1.zzzz, r3.xyzx
dp3 r0.w, r3.xyzx, r3.xyzx
rsq r0.w, r0.w
mul r3.xyz, r0.wwww, r3.xyzx
mov o3.x, r3.z
mul r0.w, v1.w, cb3[9].w
dp3 r4.x, v2.xyzx, cb3[4].xyzx
dp3 r4.y, v2.xyzx, cb3[5].xyzx
dp3 r4.z, v2.xyzx, cb3[6].xyzx
dp3 r2.z, r4.xyzx, r4.xyzx
rsq r2.z, r2.z
mul r4.xyz, r2.zzzz, r4.xyzx
mul r5.xyz, r3.xyzx, r4.zxyz
mad r5.xyz, r4.yzxy, r3.yzxy, -r5.xyzx
mul r5.xyz, r0.wwww, r5.xyzx
mov o3.y, r5.x
mov o3.z, r4.x
mov o4.x, r3.x
mov o5.x, r3.y
mov o4.w, r0.y
mov o4.y, r5.y
mov o5.y, r5.z
mov o4.z, r4.y
mov o5.w, r0.z
mov o8.xyz, r0.xyzx
mov o5.z, r4.z
mov o6.xyzw, v7.xyzw
mul r0.x, r2.y, cb1[5].x
mul r2.xz, r2.xxwx, l(0.500000, 0.000000, 0.500000, 0.000000)
mul r2.w, r0.x, l(0.500000)
add o7.xy, r2.zzzz, r2.xwxx
mul r0.x, r1.y, cb4[10].z
mad r0.x, cb4[9].z, r1.x, r0.x
mad r0.x, cb4[11].z, r1.z, r0.x
mad r0.x, cb4[12].z, r1.w, r0.x
mov o8.w, -r0.x
mul r0.x, r4.y, r4.y
mad r0.x, r4.x, r4.x, -r0.x
mul r1.xyzw, r4.yzzx, r4.xyzz
dp4 r2.x, cb2[42].xyzw, r1.xyzw
dp4 r2.y, cb2[43].xyzw, r1.xyzw
dp4 r2.z, cb2[44].xyzw, r1.xyzw
mad r0.xyz, cb2[45].xyzx, r0.xxxx, r2.xyzx
mov r4.w, l(1.000000)
dp4 r1.x, cb2[39].xyzw, r4.xyzw
dp4 r1.y, cb2[40].xyzw, r4.xyzw
dp4 r1.z, cb2[41].xyzw, r4.xyzw
add o9.xyz, r0.xyzx, r1.xyzx
mov o10.xyzw, l(0,0,0,0)
ret
// Approximately 0 instruction slots used

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
