From 0fe90b05a76b34c457425d6893b5cdae3af425b5 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Fri, 11 Feb 2022 16:42:08 -0500 Subject: [PATCH] PMREMGenerator: Set minFilter to NearestFilter. --- src/extras/PMREMGenerator.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/extras/PMREMGenerator.js b/src/extras/PMREMGenerator.js index a94c7a057e64c3..04beebd41b394f 100644 --- a/src/extras/PMREMGenerator.js +++ b/src/extras/PMREMGenerator.js @@ -4,6 +4,7 @@ import { CubeUVReflectionMapping, LinearEncoding, LinearFilter, + NearestFilter, NoToneMapping, NoBlending, RGBAFormat, @@ -249,7 +250,7 @@ class PMREMGenerator { const params = { magFilter: LinearFilter, - minFilter: LinearFilter, + minFilter: NearestFilter, generateMipmaps: false, type: HalfFloatType, format: RGBAFormat,