diff options
author | Ethan-Hall <Ethan1080> | 2022-03-17 18:01:39 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-03-21 18:38:13 +0300 |
commit | 4abb8a14a2133f876c7718a8e09284baa62b1cf5 (patch) | |
tree | cd94a096eb1b7a7a299d0c82d1d6f03cf2a74f90 /source | |
parent | be3eef19c0b5d253375c332fcf107c46c3ad53ec (diff) |
Cycles: make 3D texture sampling at boundaries more similar to GPU
CPU code for cubic interpolation with clip texture extension only performed
texture interpolation inside the range of [0,1]. As a result, even though the
volume's color is sampled using cubic interpolation, the boundary is not
being interpolated. The GPU appears was interpolating samples that span the
clip boundary softening the edge, which the CPU now does also.
This commit also includes refactoring of 2D and 3D texture sampling in
preparation of adding new extension modes.
Differential Revision: https://developer.blender.org/D14295
Diffstat (limited to 'source')
0 files changed, 0 insertions, 0 deletions