
cbuffer PMV
{
	mat4 hu_mPMVMatrix;
};

struct VIn
{
	vec4 a_vPosition: POSITION;
	vec4 a_vColor: COLOR;
};

struct PIn
{
    vec4 v_vPosition: SV_POSITION;
    vec4 v_vColor: COLOR;
	vec3 v_vNormal: NORMAL;
};

PIn main(VIn input)
{
    PIn output;

    output.v_vPosition = mul(hu_mPMVMatrix, input.a_vPosition);
    output.v_vColor = input.a_vColor;
	output.v_vNormal = 0.001*input.a_vPosition.xyz;

    return output;
}
