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:
authorBrecht Van Lommel <brecht@blender.org>2020-05-07 23:01:26 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-05-07 23:02:39 +0300
commit05fafb05b199729916f10504336747a504cf8563 (patch)
treee7b18c0bd67d946d6245dcd15743413a25cfd159 /source/blender/draw/intern/draw_cache_impl_volume.c
parent5473f0c49dc8e6bd4708ab48bb944b7265c88ace (diff)
Fix T76510: Eevee OpenVDB render artifacts due to texture clamping
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_volume.c')
-rw-r--r--source/blender/draw/intern/draw_cache_impl_volume.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_volume.c b/source/blender/draw/intern/draw_cache_impl_volume.c
index a7562b1b8ea..9c2c075ab4f 100644
--- a/source/blender/draw/intern/draw_cache_impl_volume.c
+++ b/source/blender/draw/intern/draw_cache_impl_volume.c
@@ -267,6 +267,7 @@ static DRWVolumeGrid *volume_grid_cache_get(Volume *volume,
GPU_texture_bind(cache_grid->texture, 0);
GPU_texture_swizzle_channel_auto(cache_grid->texture, channels);
+ GPU_texture_wrap_mode(cache_grid->texture, false, false);
GPU_texture_unbind(cache_grid->texture);
MEM_freeN(voxels);