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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duroure <julien.duroure@gmail.com>2020-12-06 09:52:36 +0300
committerJulien Duroure <julien.duroure@gmail.com>2020-12-06 09:52:36 +0300
commit9ff0d983ee49965ba0ff49d1138811f6a700ba25 (patch)
tree132ed7b40306dec0009aa7b7f67adc4ceb3ac0b5 /io_scene_gltf2/blender/exp/gltf2_blender_gather_sampler.py
parentc5a84e2e1ad002f55ace47eeefe4f7deedeb75b5 (diff)
glTF exporter: Fix T83426: fix texture filtering
minFilter=LinearMipmapLinear for Linear filtering
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_gather_sampler.py')
-rwxr-xr-xio_scene_gltf2/blender/exp/gltf2_blender_gather_sampler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_sampler.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_sampler.py
index ecf3e273..abbd7e94 100755
--- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_sampler.py
+++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_sampler.py
@@ -76,7 +76,7 @@ def __gather_mag_filter(blender_shader_node, export_settings):
def __gather_min_filter(blender_shader_node, export_settings):
if blender_shader_node.interpolation == 'Closest':
return TextureFilter.NearestMipmapNearest
- return TextureFilter.NearestMipmapLinear
+ return TextureFilter.LinearMipmapLinear
def __gather_name(blender_shader_node, export_settings):