win32/main.psh
2025-12-22 17:26:03 -06:00

10 lines
214 B
Plaintext

struct VS_OUTPUT
{
float4 Position : POSITION; // vertex position
float4 Diffuse : COLOR0; // vertex diffuse color
};
float4 Main(VS_OUTPUT In) : COLOR {
return float4(1, 1, 1, 1) - In.Diffuse;
}