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.
|
struct Color {
|
|
half red;
|
|
half green;
|
|
half blue;
|
|
half alpha;
|
|
};
|
|
|
|
half4 helper() {
|
|
Color c;
|
|
c.red = 0.0;
|
|
c.green = 1.0;
|
|
c.blue = 0.0;
|
|
c.alpha = 1.0;
|
|
return half4(c.red, c.green, c.blue, c.alpha);
|
|
}
|
|
|
|
half4 main(float2 coords) {
|
|
return helper();
|
|
}
|