Danbias/Code/OysterGraphics/Shader/HLSL/Deffered Shaders/GatherGBuffer/PixelGatherData.hlsl

9 lines
206 B
HLSL
Raw Normal View History

2013-11-26 13:44:58 +01:00
#include "GBufferHeader.hlsli"
PixelOut main(VertexOut input)
{
PixelOut output;
2013-11-27 15:26:29 +01:00
output.DiffuseGlow = Diffuse.Sample(Sampler, input.UV);
2013-11-26 13:44:58 +01:00
output.NormalSpec = float4(input.normal, 1.0f);
return output;
}