CodeWalker/CodeWalker.Shaders/PathPS.hlsl
2019-11-18 16:25:40 +01:00

17 lines
207 B
HLSL

struct VS_OUTPUT
{
float4 Position : SV_POSITION;
float4 Colour : COLOR0;
};
float4 main(VS_OUTPUT input) : SV_TARGET
{
float4 c = input.Colour;
return float4(c.rgb, saturate(c.a));
}