Realtime Compositor: Implement Mask node #107464

Merged
Omar Emara merged 2 commits from OmarEmaraDev/blender:mask-node into main 2023-05-01 11:29:12 +02:00

2 Commits

Author SHA1 Message Date
d54a8195c4 Merge branch 'main' into mask-node 2023-05-01 12:09:12 +03:00
54973ff0d2 Realtime Compositor: Implement Mask node
This patch implements the Mask node for the realtime compositor. The
evaluation of the mask is not GPU accelerated, but is cached as a form
of temporary implementation until we implement a GPU evaluator for
masks.

One limitation currently is that we do not redraw the viewport while the
mask is getting edited by the user, because always doing that will be
redundant in most situations, and conditioning the redraw requires a lot
of work that should be handled outside of this patch.

This is similar to the Texture node implementation in 151a53110c.
2023-04-29 14:56:05 +02:00