You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Take a look at mrdoob/three.js#751 Since multimaterials are not available anymore that util will create multiple meshes sitting on each other to fake it. So I bet just doing a flat texture with a 1px outline would be a lot faster.
I tried a bunch of stuff to get a wireframe mesh overlaid on a surface mesh to no avail. Kept getting WebLGL errors. It would be a neat feature to have later though.
Re: the mipmaps, with a red texture next to a blue texture, eventually when the atlas is scaled down for a certain mipmap level the red and blue will have to merge. Giving you the above reddish blue in the distance. Since most of your displayed textures are blue, at that level the mipmap should really just be blue. You can manually set the mipmaps to achieve this, take a look at this example: https://github.com/mrdoob/three.js/blob/master/examples/webgl_materials_texture_manualmipmap.html#L125
FWIW, I'm planning on writing a mipmap module that will handle this in the future.
heya, i'd like to use something like this for wireframed flat color voxels (should render super fast):
The text was updated successfully, but these errors were encountered: