diff options
author | Omar Emara <mail@OmarEmara.dev> | 2022-08-23 09:55:31 +0300 |
---|---|---|
committer | Omar Emara <mail@OmarEmara.dev> | 2022-08-23 10:06:16 +0300 |
commit | 78061e6c3e74e932218fec0bad2911cc550ad41c (patch) | |
tree | 12f2448a0bf1e21c335cf9e865c66bea6c4f16b1 /source/blender/blenkernel | |
parent | 35cc755366981093ef6d7b77ecd9dc2514a4d53b (diff) |
Fix: Compositor results are fuzzy with bilinear filtering
The realtime compositor sometimes produces fuzzy results when the
interpolation is set to bilinear. This was due to the domain realization
shader, which incorrectly sampled the input image.
This patch fixes such fuzziness by introducing a 0.5 offset to evaluate
the sampler at the center of pixels. Additionally, it makes sure the
centring offset is an integer offset by taking its floor, retaining the
previous 0.5 offset even with the difference in size is odd.
Diffstat (limited to 'source/blender/blenkernel')
0 files changed, 0 insertions, 0 deletions