2020-09-23 15:46:29 +00:00
|
|
|
uniform half4 color;
|
2020-12-23 19:14:09 +00:00
|
|
|
in fragmentProcessor child;
|
2020-09-23 15:46:29 +00:00
|
|
|
|
2020-12-15 14:44:51 +00:00
|
|
|
half4 main(float2 coord) {
|
2020-09-23 15:46:29 +00:00
|
|
|
float3x3 matrix = float3x3(color.a);
|
2020-12-15 14:44:51 +00:00
|
|
|
return sample(child, matrix) * sample(child, coord / 2);
|
2020-09-23 15:46:29 +00:00
|
|
|
}
|