Skip to content Skip to sidebar Skip to footer

An Error When Try To Use Mipmaping In Three.js

I'm trying to use mipmaps generation in three.js textures. When creating a texture I assign an image of size 512x512 to mipmaps[0]. Thus if my understanding is correct this image s

Solution 1:

Problem solved. I have understood my mistake. I was confused by an empty texture's mipmaps array after rendering and decided that mipmaping does not working. In fact it should be empty as webgl does not return generated stack of images.


Post a Comment for "An Error When Try To Use Mipmaping In Three.js"