mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-22 15:02:54 +08:00
18 lines
232 B
HLSL
18 lines
232 B
HLSL
|
|
struct VS_OUTPUT
|
|
{
|
|
float4 Position : SV_POSITION;
|
|
float4 Colour : COLOR0;
|
|
float3 Normal : NORMAL;
|
|
};
|
|
|
|
|
|
float4 main(VS_OUTPUT input) : SV_TARGET
|
|
{
|
|
float4 c = input.Colour;
|
|
|
|
return float4(c.rgb, 1.0f);
|
|
}
|
|
|
|
|