2013-11-28 14:34:52 +01:00
|
|
|
#include "Debug.hlsl"
|
2013-11-20 16:51:53 +01:00
|
|
|
|
2013-11-29 10:44:04 +01:00
|
|
|
VertexOut main( VertexIn input )
|
2013-11-21 13:50:43 +01:00
|
|
|
{
|
2013-11-29 10:44:04 +01:00
|
|
|
VertexOut outp;
|
|
|
|
outp.Wpos = mul( World, float4(input.pos,1) );
|
2013-11-22 10:55:21 +01:00
|
|
|
matrix VP = mul(Projection, View);
|
2013-11-29 10:44:04 +01:00
|
|
|
outp.Pos = mul(VP, outp.Wpos );
|
|
|
|
outp.UV = input.UV;
|
|
|
|
outp.Normal = input.normal;
|
|
|
|
|
|
|
|
return outp;
|
2013-11-20 16:51:53 +01:00
|
|
|
}
|