diff options
author | Omar Emara <mail@OmarEmara.dev> | 2022-09-09 14:03:53 +0300 |
---|---|---|
committer | Omar Emara <mail@OmarEmara.dev> | 2022-09-09 14:03:53 +0300 |
commit | 77a4bb02cc99bfd581c6bb9e35ca3fe53389915e (patch) | |
tree | 4d9368551f8ce90e20a72658b80629e0058edc31 /source/blender/blenlib/intern/math_matrix.c | |
parent | fa0f18b37d1154dcb3c1d3fcc9075f68f79c8631 (diff) |
Fix T100697: Curve nodes change colors at identity settings
Shader and compositor curve nodes change their inputs even if they are
at identity settings.
That is because shader and compositor curve nodes evaluate their curve
map texture samplers at the normalized input directly, disregarding the
fact that the samplers are evaluated using linear interpolation. This
causes the output to be slightly different that it should be.
This patch remaps the evaluation parameters such that the texture
sampler is evaluated at the center of the pixels.
Differential Revision: https://developer.blender.org/D15811
Reviewed By: Clement Foucault
Diffstat (limited to 'source/blender/blenlib/intern/math_matrix.c')
0 files changed, 0 insertions, 0 deletions