firtoz / react-three-renderer

Render into a three.js canvas using React.
https://toxicfork.github.com/react-three-renderer-example/
MIT License
1.49k stars 155 forks source link

Drawing pixelated textures? #191

Open caedmon opened 7 years ago

caedmon commented 7 years ago

I'm trying to use a low resolution texture and want a pixelated effect like minecraft. It seems I should be able to do this by setting magFilter to THREE.NearestFilter. However, as far as I can tell the setting of magFilter has no effect; in all cases it appears to be using LinearFilter.

Is there something else I need to do to make this work or is this possibly not yet supported in react-three-renderer?

toxicFork commented 7 years ago

Hmm this may be a bug... will need to investigate.

toxicFork commented 7 years ago

@jshor I saw your email about you having a similar issue but it seems the comment has been removed, was it unrelated?