Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

5 years ago by phi

Is there a way to completely shut off mip mapping? I keep getting those ugly seams (TwoPointFive plugin).

/>			</div>
		</div>
			<div class=

5 years ago by dominic

Yep. Change lib/plugins/twopointfive/renderer/renderer.js, line 101 to

this.gl.texParameteri(this.gl.TEXTURE_2D, this.gl.TEXTURE_MIN_FILTER, this.gl.NEAREST);

TEXTURE_MIN_FILTER sets the filter used for minification.

You could also write a small plugin to overwrite the .loadTexture() method if you don't want to modify the twopointfive sources directly.

5 years ago by phi

It works! Thanks for the quick answer.
Page 1 of 1
« first « previous next › last »