How to use the LinearMipmapLinearFilter function from three

Find comprehensive JavaScript three.LinearMipmapLinearFilter code examples handpicked from public code repositorys.

1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
var sampler = samplers[textureDef.sampler] || {};

texture.magFilter =
  WEBGL_FILTERS[sampler.magFilter] || THREE.LinearFilter;
texture.minFilter =
  WEBGL_FILTERS[sampler.minFilter] || THREE.LinearMipmapLinearFilter;
texture.wrapS =
  WEBGL_WRAPPINGS[sampler.wrapS] || THREE.RepeatWrapping;
texture.wrapT =
  WEBGL_WRAPPINGS[sampler.wrapT] || THREE.RepeatWrapping;
fork icon3
star icon7
watch icon8

+ 14 other calls in file

1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
    9728: THREE.NearestFilter,
    9729: THREE.LinearFilter,
    9984: THREE.NearestMipmapNearestFilter,
    9985: THREE.LinearMipmapNearestFilter,
    9986: THREE.NearestMipmapLinearFilter,
    9987: THREE.LinearMipmapLinearFilter
};
const WEBGL_WRAPPINGS = {
    33071: THREE.ClampToEdgeWrapping,
    33648: THREE.MirroredRepeatWrapping,
fork icon2
star icon10
watch icon0

+ 3 other calls in file

1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
    9728: three.NearestFilter,
    9729: three.LinearFilter,
    9984: three.NearestMipmapNearestFilter,
    9985: three.LinearMipmapNearestFilter,
    9986: three.NearestMipmapLinearFilter,
    9987: three.LinearMipmapLinearFilter
};
const WEBGL_WRAPPINGS = {
    33071: three.ClampToEdgeWrapping,
    33648: three.MirroredRepeatWrapping,
fork icon2
star icon7
watch icon0

1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
  9728: _three.NearestFilter,
  9729: _three.LinearFilter,
  9984: _three.NearestMipmapNearestFilter,
  9985: _three.LinearMipmapNearestFilter,
  9986: _three.NearestMipmapLinearFilter,
  9987: _three.LinearMipmapLinearFilter
};
var WEBGL_WRAPPINGS = {
  33071: _three.ClampToEdgeWrapping,
  33648: _three.MirroredRepeatWrapping,
fork icon0
star icon1
watch icon0

+ 3 other calls in file

1939
1940
1941
1942
1943
1944
1945
1946
1947
1948

texture.magFilter =
    WEBGL_FILTERS[sampler.magFilter] || THREE.LinearFilter;
texture.minFilter =
    WEBGL_FILTERS[sampler.minFilter] ||
    THREE.LinearMipmapLinearFilter;
texture.wrapS =
    WEBGL_WRAPPINGS[sampler.wrapS] || THREE.RepeatWrapping;
texture.wrapT =
    WEBGL_WRAPPINGS[sampler.wrapT] || THREE.RepeatWrapping;
fork icon0
star icon0
watch icon1

+ 61 other calls in file

24
25
26
27
28
29
30
31
32
sky_uniforms['mieDirectionalG'].value = 0.8

cube_render_target = new THREE.WebGLCubeRenderTarget(512, {
    format: THREE.RGBFormat,
    generateMipmaps: true,
    minFilter: THREE.LinearMipmapLinearFilter
})

cube_camera = new THREE.CubeCamera(0.1, 1, cube_render_target)
fork icon0
star icon0
watch icon0

+ 2 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)