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.
9 lines
182 B
9 lines
182 B
7 months ago
|
uniform half4 colorGreen, colorRed;
|
||
|
|
||
|
half4 main(float2 coords) {
|
||
|
if (half4(0, 0, 1, 1) == half4(int4(0, 0, 1, 1)))
|
||
|
return colorGreen;
|
||
|
else
|
||
|
return colorRed;
|
||
|
}
|