You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
307 B

uniform half4 colorGreen, colorRed;
half4 main(float2 coords) {
float test1[4] = float[4](1, 2, 3, 4);
float2 test2[2] = float2[2](float2(1, 2), float2(3, 4));
float4x4 test3[1] = float4x4[1](float4x4(16));
return (test1[3] + test2[1][1] + test3[0][3][3] == 24) ? colorGreen : colorRed;
}