Open torsteingrindvik opened 2 years ago
We might not want to apply an effect to the whole input.
E.g. perhaps we want to blur/pixelate/... only outer edges.
So:
Allow an input texture (one channel texture perhaps?) which controls how we mix between the produced output of an effect, and the previous input.
If this is just Option<Handle<Image>>, and the default fallback is a white pixel, then this should already work out I think?
Option<Handle<Image>>
EDIT: Related: #34
We might not want to apply an effect to the whole input.
E.g. perhaps we want to blur/pixelate/... only outer edges.
So:
Allow an input texture (one channel texture perhaps?) which controls how we mix between the produced output of an effect, and the previous input.
If this is just
Option<Handle<Image>>
, and the default fallback is a white pixel, then this should already work out I think?EDIT: Related: #34