2021-04-28 14:04:50 +00:00
|
|
|
in fragmentProcessor fp1, fp2;
|
2021-04-22 20:08:54 +00:00
|
|
|
|
|
|
|
half4 main() {
|
|
|
|
const float2 coords = float2(0.5);
|
|
|
|
const half4 inColor = half4(0.75);
|
|
|
|
|
|
|
|
return sample(fp1) *
|
|
|
|
sample(fp2, coords) *
|
|
|
|
sample(fp1, inColor) *
|
2021-04-28 14:04:50 +00:00
|
|
|
sample(fp2, coords, inColor);
|
2021-04-22 20:08:54 +00:00
|
|
|
}
|