Skip to content

Commit

Permalink
apple fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzakm committed Feb 29, 2024
1 parent bbacb0f commit a13bc38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/quick-hounds-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@threejs-kit/instanced-sprite-mesh': patch
---

AppleFix: NearestFiltering for DataTextures
1 change: 0 additions & 1 deletion packages/instanced-sprite-mesh/src/material.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ export const makeDataTexture = (data: SpritesheetFormat) => {
RGBAFormat,
FloatType
);
console.log('nearest fix')
dataTexture.type = FloatType;
dataTexture.minFilter = NearestFilter;
dataTexture.magFilter = NearestFilter;
Expand Down

0 comments on commit a13bc38

Please sign in to comment.