//Skybox VS 4. Clouds.
// ---- Created with geo-11 v0.7.10 on Sun Aug  9 22:32:13 2026



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


void main(
  float4 v0 : POSITION0,
  float4 v1 : INPUT0,
  float4 v2 : INPUT1,
  float4 v3 : INPUT2,
  out float4 o0 : SV_POSITION0,
  out float4 o1 : INPUT0,
  out float4 o2 : INPUT1,
  out float4 o3 : INPUT2)
{
  float4 stereo = StereoParams.Load(0);
  float4 iniparams3 = IniParams.Load(int2(3,0));
  float4 iniparams10 = IniParams.Load(int2(10,0));
  
  o0.xyzw = v0.xyzw;
  o1.xyzw = v1.xyzw;
  o2.xyzw = v2.xyzw;
  o3.xyzw = v3.xyzw;
  if (iniparams10.z==1 && o0.w!=1.0 && iniparams3.w==3) {
    o0.x+=stereo.x*stereo.y;
  }
  if (iniparams3.w==20) {
    o0.x-=stereo.x*(o0.w-stereo.y);
	o0.x+=stereo.x*(o0.w-stereo.y*0.875);
  }
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.7.10 on Sun Aug  9 22:32:13 2026
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE   float   xyzw
// INPUT                    0   xyzw        1     NONE   float   xyzw
// INPUT                    1   xyzw        2     NONE   float   xyzw
// INPUT                    2   xyzw        3     NONE   float   xyzw
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// INPUT                    0   xyzw        1     NONE   float   xyzw
// INPUT                    1   xyzw        2     NONE   float   xyzw
// INPUT                    2   xyzw        3     NONE   float   xyzw
//
vs_4_0
dcl_input v0.xyzw
dcl_input v1.xyzw
dcl_input v2.xyzw
dcl_input v3.xyzw
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xyzw
dcl_output o3.xyzw
mov o0.xyzw, v0.xyzw
mov o1.xyzw, v1.xyzw
mov o2.xyzw, v2.xyzw
mov o3.xyzw, v3.xyzw
ret
// Approximately 5 instruction slots used

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