if else if else if if else if else

This commit is contained in:
2025-01-20 22:20:47 +01:00
parent 45ea54cf93
commit 42c5baa846
14 changed files with 220 additions and 12 deletions

View File

@@ -0,0 +1,18 @@
float4 vs_main(float3 pos : POSITION) : SV_POSITION
{
if (pos.x > 100)
{
if (pos.x > 50)
{
return float4(pos, 1.0f);
}
else
{
return float4(1.0f);
}
return float4(pos, 1.0f);
}
return float4(0.0f);
}