2021-04-21 18:27:08 +00:00
|
|
|
half4 main(float2 coords) {
|
2021-02-04 19:50:03 +00:00
|
|
|
bool3 B;
|
|
|
|
B.x = bool(1.23);
|
|
|
|
B.y = bool(1);
|
|
|
|
B.z = bool(true);
|
2021-01-05 14:59:32 +00:00
|
|
|
|
2021-02-04 19:50:03 +00:00
|
|
|
float3 F;
|
|
|
|
F.x = float(1.23);
|
|
|
|
F.y = float(0);
|
|
|
|
F.z = float(true);
|
2021-01-05 14:59:32 +00:00
|
|
|
|
2021-02-04 19:50:03 +00:00
|
|
|
int3 I;
|
|
|
|
I.x = int(1.23);
|
|
|
|
I.y = int(1);
|
|
|
|
I.z = int(true);
|
2021-01-05 14:59:32 +00:00
|
|
|
|
2021-02-04 19:50:03 +00:00
|
|
|
return half4(half(F.x * F.y * F.z), half(B.x && B.y && B.z), 0, half(I.x * I.y * I.z));
|
2021-01-05 14:59:32 +00:00
|
|
|
}
|