Skip to content

Commit

Permalink
PMREMGenerator: Set minFilter to NearestFilter. (mrdoob#23468)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob authored and donmccurdy committed Mar 10, 2022
1 parent 701d462 commit fe2f3c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extras/PMREMGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
CubeUVReflectionMapping,
LinearEncoding,
LinearFilter,
NearestFilter,
NoToneMapping,
NoBlending,
RGBAFormat,
Expand Down Expand Up @@ -249,7 +250,7 @@ class PMREMGenerator {

const params = {
magFilter: LinearFilter,
minFilter: LinearFilter,
minFilter: NearestFilter,
generateMipmaps: false,
type: HalfFloatType,
format: RGBAFormat,
Expand Down

0 comments on commit fe2f3c0

Please sign in to comment.