mql-for-begginers/Scripts/Examples/Remnant 3D/Shaders/vertex.hlsl

18 lines
237 B
HLSL
Raw Permalink Normal View History

2025-07-22 18:30:17 +03:00
struct VSInput
{
float4 position : POSITION;
};
struct PSInput
{
float4 position : SV_POSITION;
};
PSInput VSMain(VSInput input)
{
PSInput output;
output.position=(input.position);
return(output);
}