|
const levelScale = Math.pow(2, -level);
|
|
const levelScale = Math.pow(2, -level);
|
|
textures.setTexture2D(texture, 0);
|
|
textures.setTexture2D(texture, 0);
|
|
_gl.copyTexImage2D(_gl.TEXTURE_2D, level, glFormat, position.x, position.y, width, height, 0);
|
|
_gl.copyTexImage2D(_gl.TEXTURE_2D, level, glFormat, position.x, position.y, width, height, 0);
|