blob: bc48b5f573689ef22a1e7669737f93abf4109b00 [file] [log] [blame]
uniform half4 colorGreen;
uniform half4 colorRed;
uniform half4 colorWhite;
float4 main(float2 )
{
half4 result = colorGreen;
bool trueCondition = bool(colorGreen.y);
bool falseCondition = bool(colorGreen.x);
if (trueCondition)
{
if (falseCondition)
{
result = colorRed;
}
}
else
{
result = colorRed;
}
return half4(float4(result));
}