aboutsummaryrefslogtreecommitdiff
path: root/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/data/comp_vs.fx
blob: 4dab267104ac90244771fe2a742732128de4c8fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
void VS( float3 vPosIn     : POSITION,
         float4 vDiffuseIn : COLOR,
         float4 uv_in      : TEXCOORD0,  // .xy = UVs to use (unwarped), .zw = IGNORE
         float2 rad_ang_in : TEXCOORD1,  // .x = rad, .y = ang
     out float4 vPosProj   : POSITION,
     out float4 _vDiffuse  : COLOR, 
     out float2 _uv        : TEXCOORD0,
     out float2 _rad_ang   : TEXCOORD1 )
{  
    vPosProj = float4(vPosIn.x, vPosIn.y, vPosIn.z, 1);
    _vDiffuse = vDiffuseIn;
    _uv = uv_in.xy;
    _rad_ang = rad_ang_in.xy;
}