Danbias/Code/OysterGraphics/Shader/HLSL/Deffered Shaders/VertexGatherData.hlsl

10 lines
225 B
HLSL
Raw Normal View History

#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));
output.normal = mul(WV, float4(input.normal,0)).xyz;
output.UV = input.UV;
return output;
}