Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Emara <mail@OmarEmara.dev>2022-10-13 13:42:43 +0300
committerOmar Emara <mail@OmarEmara.dev>2022-10-13 13:42:43 +0300
commit1a9480cf25d18f15f154d4ac3ec9720ca9dfb2f7 (patch)
tree46b58005e10db253fa5a5137937aa43ae1f6fd2f /build_files
parentcbe1c1474b1618c2134303d6ce9a9a1139974f4d (diff)
Realtime Compositor: Keep interpolation in Scale node
Currently, the scale node always changes the interpolation of its result to bilinear. This was done because the scale node does not have an interpolation option, unlike the Transform node, so a default of bilinear was assumed. This turned out to be problematic, because in the pixelation use cases, a nearest interpolation is typically preferred by the user. This patch changes the default interpolation of input nodes to bilinear, makes the scale node keep the interpolation of the input it receives, and makes the pixelate node changes the interpolation to nearest. In effect, for non-pixelation use cases, the default bilinear interpolation will be used, and for pixelation use cases, the nearest interpolation will be used unless explicitly specified using a node that sets the interpolation.
Diffstat (limited to 'build_files')
0 files changed, 0 insertions, 0 deletions