|
mapSize.height = Math.pow(2, Math.ceil(Math.log(size.height) / Math.log(2)));
|
|
mapSize.height = Math.pow(2, Math.ceil(Math.log(size.height) / Math.log(2)));
|
|
map = new MapTexture(id, this._scene, mapSize, useMipMap ? Texture.TRILINEAR_SAMPLINGMODE : Texture.BILINEAR_SAMPLINGMODE, useMipMap);
|
|
map = new MapTexture(id, this._scene, mapSize, useMipMap ? Texture.TRILINEAR_SAMPLINGMODE : Texture.BILINEAR_SAMPLINGMODE, useMipMap);
|