eDosStationFull/eDosStationApp/Content/SamplePixelShader.hlsl

13 lines
287 B
HLSL
Raw Normal View History

2026-08-18 12:15:26 +02:00
// Per-pixel color data passed through the pixel shader.
struct PixelShaderInput
{
float4 pos : SV_POSITION;
float3 color : COLOR0;
};
// A pass-through function for the (interpolated) color data.
float4 main(PixelShaderInput input) : SV_TARGET
{
return float4(input.color, 1.0f);
}