diff options
Diffstat (limited to 'musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/data/warp_vs.fx')
-rw-r--r-- | musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/data/warp_vs.fx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/data/warp_vs.fx b/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/data/warp_vs.fx new file mode 100644 index 0000000..79d269e --- /dev/null +++ b/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/data/warp_vs.fx @@ -0,0 +1,14 @@ +void VS( float3 vPosIn : POSITION, + float4 vDiffuseIn : COLOR, + float4 uv_in : TEXCOORD0, // .xy = warped UVs, .zw = orig UVs + float2 rad_ang_in : TEXCOORD1, // .x = rad, .y = ang + out float4 vPosProj : POSITION, + out float4 _vDiffuse : COLOR, + out float4 _uv : TEXCOORD0, + out float2 _rad_ang : TEXCOORD1 ) +{ + vPosProj = float4(vPosIn.x, vPosIn.y, vPosIn.z, 1); + _vDiffuse = vDiffuseIn; + _uv = uv_in.xyzw; + _rad_ang = rad_ang_in.xy; +} |