blob: 79d269ed83f263a85288243338eff1a16f37bbcc (
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 = 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;
}
|