2013-12-18 20:28:06 +01:00
|
|
|
#include "GBufferHeader.hlsli"
|
|
|
|
|
|
|
|
VertexOut main( VertexIn input )
|
|
|
|
{
|
|
|
|
VertexOut output;
|
2014-01-08 07:01:59 +01:00
|
|
|
output.pos = mul(WVP, float4(input.pos,1));
|
2014-01-16 09:30:01 +01:00
|
|
|
output.normal = mul(WV, float4(input.normal,0)).xyz;
|
2013-12-18 20:28:06 +01:00
|
|
|
output.UV = input.UV;
|
|
|
|
return output;
|
|
|
|
}
|