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; | |
} |